benilla-re systems structs docs

s_worldStateUiList

global · ui

Address
0xb71e74 · 16 bytes, up to 0xb71e83
Type
uint32_t[4]
Meaning
Holds the always-visible world state row ids: capacity, count, data and chunk size
Confidence
verified, proof one
Finding
ui/worldstate#the-list-builder

Finding: The list builder in ui: world states in the interface

0x4c56e0 rebuilds the always-visible list, an array of row ids at 0xb71e7c (count 0xb71e78), from the empty list. A row is taken when its map id is -1 or equals the map of the last SMSG_INIT_WORLD_STATES (0xb71e84), its area id is 0 or equals that message's zone (0xb71ea8) and its type is 0, or its type is 1 while the player is joined to the zone defence channel (0xb6e5dc). Type 2 rows never enter; they are the scoreboard columns. The array grows in chunks of up to 0x40.

The derivation is in the doc.