CWorld::GetEntityAreaRows
function · terrain · orchestration
- Address
0x6705a0· 36 bytes, up to0x6705c3- Signature
uint8_t __fastcall (void *entity, void **groupRow, void **wmoRow)- Meaning
- Returns the group and whole-WMO area rows of an indoor entity through GetEntityAreaRows
- 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 2
- UpdateIndoorArea terrain
- AreaShowsBreath terrain
Callees 1
- GetEntityAreaRows terrain
Calls and jumps by a bare address, from tables/calls.tsv.