CONTENT CONTRACT · VERSION 1
timer
A timer an owner can set, delivered to one binding.
Signature
{ binding: BindingId, id: ContentId, kind: "timer", owner_scope: OwnerScope }Fields
| Name | Type | Meaning |
|---|---|---|
binding | BindingId | The binding of this package (event timer_fired, owner_from timer_owner) that receives it. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: binding |
id | ContentId | Package-qualified identity; unique within its declaring namespace. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$ |
kind | "timer" | Discriminant |
owner_scope | OwnerScope | Kind of owner the timer is set for. |
Validated example
{
"binding": "core:hill_golem_arena_watching",
"id": "core:hill_golem_arena_watch",
"kind": "timer",
"owner_scope": "player"
}