UpdateZoneText
function · ui · orchestration
- Address
0x494780· 491 bytes, up to0x49496a- Meaning
- Commits the zone and area ids and name caches and signals the zone event
- Confidence
- verified, proof one
- Finding
- ui/zonetext#the-commit-and-its-events
Finding: The commit and its events in ui: zone text, zone events and zone PvP
0x494780(zoneId, areaId, zoneName, subzoneName, realZoneName, indoor) stores the zone id at 0xb4e314 and the area id at 0xb4e318, copies each nonempty name into its cache (0xb4b3f8, 0xb4e280, 0xb4b404) and empties a cache for an empty name. At most one event follows. ZONE_CHANGED_NEW_AREA (205) fires, alone, when the zone id changed.
Otherwise a change of the zone name or the subzone name fires ZONE_CHANGED (203), or ZONE_CHANGED_INDOORS (204) when the indoor argument is nonzero. A change of the real zone name alone fires nothing.
The derivation is in the doc.
Callers 1
- AreaListRegisterLocation terrain
Callees 9
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ZoneChannelRefresh ui
- SelectCurrentZone ui
- GetPendingCinematic objectlayer
- SMemFree storm
- SStrCmpI storm
- SStrDupA storm
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.