Skip to content

five-on-it / apps/server/src/game-server / AOI_TIERS

Variable: AOI_TIERS ​

const AOI_TIERS: readonly object[]

Defined in: apps/server/src/game-server.ts:571

The tiers of the area of interest (delta snapshots): an entity within within metres of the player is sent every every snapshots at most (20, 10 and 5 times a second: the protocol's TIER_EVERY, which every change carries as the entity's tier, so the client draws it as far behind as its pose comes); the players, what they sit in, projectiles, props and doors every time. FOI_AOI_TIERS=0 sends everything every time.