Interest
IInterestPolicy
The game's say in what a client hears about.
generated from the sources
Interface in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Interest/InterestPolicy.cspublic interface IInterestPolicyThe game's say in what a client hears about. Both methods are called by the gateway, per client, at InterestSettings.EvalHz; neither may block or allocate per call if the mesh is to stay quiet.
Methods
Collect
void Collect(in InterestClient client, InterestQuery query);Fill the foci and explicit entities for this client.
Authorize
bool Authorize(in InterestClient client, in InterestEntity entity);The security filter, asked before an entity may enter or stay in the set (team, fog of war). Returning false removes the entity at once, with no linger: this is a boundary, not a distance.