Appearance
game.planner
Native global — no require.
snapshot
function · snapshot(): table
Latest planner snapshot from the local host.
Returns
| Type | Summary |
|---|---|
table | — |
publish_status
function · publish_status(json: string): Result?, ErrorMessage?
Publish a planner status payload to the local host.
Parameters
| Name | Type | Summary |
|---|---|---|
json | string | — |
Returns
| Type | Summary |
|---|---|
Result?, ErrorMessage? | — |
note_learned_spell
function · note_learned_spell(words: string): Result?, ErrorMessage?
Record that the local player learned a spell.
Parameters
| Name | Type | Summary |
|---|---|---|
words | string | — |
Returns
| Type | Summary |
|---|---|
Result?, ErrorMessage? | — |