CONTENT CONTRACT · VERSION 1
set_timer
Set a timer of this package for the invocation owner; an active timer of the same ID is replaced.
Signature
{ delay_ticks: PositiveTicks, kind: "set_timer", timer: TimerId }Fields
| Name | Type | Meaning |
|---|---|---|
delay_ticks | PositiveTicks | Ticks until the timer fires. Range: 1…2147483647; Unit: tick |
kind | "set_timer" | Discriminant |
timer | TimerId | Timer declared by this package. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: timer |
Validated example
{
"delay_ticks": 25,
"kind": "set_timer",
"timer": "core:hill_golem_watch"
}