CoreTrait
A trait the core writes and a game reads: PlayerTrait,
ConnectionTrait and PlayerSaveTrait on a player entity. Koota’s own
functions refuse it, so no system or hook writes it by accident. Read it
with readTrait(player, PlayerTrait), hasTrait, useTrait, or
readEach over the engine’s createQuery.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
S extends Schema |
any |
Properties
Section titled “Properties”| Property | Modifier | Type |
|---|---|---|
[coreBrand] |
readonly |
(schema) => S |