Nebula
Interest

FocusMode

How much of the world a client's own ClientFocusHintMsg may move its interest to.

generated from the sources
public enum FocusMode : byte

How much of the world a client's own ClientFocusHintMsg may move its interest to. It is server state — set with NebulaGateway.SetClientFocusMode or by an IFocusHintPolicy — and never travels from the client, because a client that could widen its own view would be a client that can see through walls by asking politely. Instance isolation applies in every mode: a free focus is a bigger view of the world the client is already in, not a way out of it.

Members

NameValueDescription
PawnClamped0The default. A hint is honored only from a client that has a pawn, and is clamped to InterestSettings.HintMaxDistance of it. A pawn-less client's hint is ignored, so connecting without a body is not a way to look anywhere in the world.
Free1The hint is taken as sent, anywhere in the world: an RTS or commander camera, a spectator, a replay viewer. A pawn-less client may hold this mode; the server is the one that decided so.
Disabled2Hints from this client are ignored altogether, pawn or no pawn.

On this page