benilla-re systems structs docs

SetWorldState

function · ui · primitive

Address
0x4c5870 · 449 bytes, up to 0x4c5a30
Meaning
Stores a world state value for an id
Confidence
inferred
Finding
ui/questtext#world-state-numbers

Finding: World state numbers in ui: dollar macros in server text

$<n>W and $<n>E give the world state value of key n and of -n as decimal text; a missing value is 0. With no digits the key is read from an uninitialised buffer. The table is the one SMSG_INIT_WORLD_STATES (opcode 0x2c2) and SMSG_UPDATE_WORLD_STATE (0x2c3) fill.

The derivation is in the doc.

Callers 1

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.