vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::NetSilenceMap Class Reference

netSilence for every entity of a world, classified in one pass. More...

#include <silence.h>

Public Member Functions

void build (const Scene &scene)
 Classify every entity in scene, replacing what was there.
NetSilence of (EntityId entity) const
 What netSilence says of entity, as of the last build.

Detailed Description

netSilence for every entity of a world, classified in one pass.

Built once per send round: the answer depends on the world, not the peer, and is costly per entity.

Member Function Documentation

◆ build()

void Vkm::Engine::NetSilenceMap::build ( const Scene & scene)

Classify every entity in scene, replacing what was there.

Parameters
sceneThe world as this round describes it.

◆ of()

NetSilence Vkm::Engine::NetSilenceMap::of ( EntityId entity) const

What netSilence says of entity, as of the last build.

Parameters
entityAn entity alive in the world the map was built from.
Returns
Why it is off the wire, or None.

The documentation for this class was generated from the following file: