Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

AbilitiesTrait

const AbilitiesTrait: WithFields<Trait<{ grants: ListSchemaField<AbilityGrant>; }>, CollectionHandles<{ grants: ListSchemaField<AbilityGrant>; }, Trait<{ grants: ListSchemaField<AbilityGrant>; }>>>

The abilities a character may cast, in grants, streamed to the character’s owner. A reader sees a new array after each edit session. The grant and revoke verbs record one change for each grant they add or remove.