Skip to content

OwnershipFilter

OwnershipFilter = (entity, traitName) => boolean

Defined in: packages/engine/src/gameplay/replication/apply.ts:9

True where the replica keeps its own value of an entity’s trait: the client’s own hero, which it moves on its own input.

Parameter Type
entity Entity
traitName string

boolean