s_currentMapId
global · ui
- Address
0xb4e378· 4 bytes, up to0xb4e37b- Type
uint32_t- Meaning
- Holds the id of the map the player is on, set on each map change
- Confidence
- verified, proof one
- Finding
- ui/groupverbs#instances
Finding: Instances in ui: group, guild, raid and instance verbs
ResetInstances() sends message 0x31d. RequestRaidInfo() sends 0x2cd. GetNumSavedInstances() returns the count at
0xb6e5e8; GetSavedInstanceInfo(index) returns, for entry index−1, the map's name in the current locale, a dword and a
second number, and for an invalid index nil, 0 and nil. IsInInstance() returns two values: 1 or nil by the map type
(nonzero is an instance), and the type name none, party, raid or pvp; for a map with no record it returns 2 without pushing anything. CanShowResetInstances() returns 1 only when the
server has sent the ownership flag, the player is not in a type-1 map, and the last type-1 map was left no more than 90000
seconds ago.
The derivation is in the doc.