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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
traitName |
string |
Returns
Section titled “Returns”boolean