UpdateIndoorArea
function · terrain · orchestration
- Address
0x67e670· 376 bytes, up to0x67e7e7- Signature
uint8_t __fastcall (void *entity, const char **zoneText, const char **subText, uint32_t zoneId)- Meaning
- Sets the zone and subzone texts and the audio from an indoor entity's map object group, once per group
- Confidence
- verified, proof one
- Finding
- terrain/zones#indoor-area-names
Finding: Indoor area names in terrain: zones
0x67e670 takes the entity, the zone text slot, the subzone text slot and the zone id. It returns 0 without change
when the last update was indoors and the entity's group key (or the zone id when it has none)
equals the stored key. Otherwise it stores the key, replaces the zone text with the whole-WMO
name and clears the subzone when that name is non-empty and differs, ignoring case, from the
subzone, sets the subzone to the group's own name when that is non-empty, applies the audio of
the group's WMOAreaTable row, each field from the whole-WMO row where it is 0, with the
override flag 1, and returns 1.
The derivation is in the doc.
Callers 1
- AreaListRegisterLocation terrain
Callees 7
- SetWorldReverb sound
- SetAreaAmbience sound
- SetAreaMusic sound
- SStrCmpI storm
- CWorld::GetEntityAreaName terrain
- CWorld::GetEntityGroupAreaName terrain
- CWorld::GetEntityAreaRows terrain
Calls and jumps by a bare address, from tables/calls.tsv.