benilla-re systems structs docs

HandleInstanceResetPacket

function · ui · orchestration

Address
0x49e470 · 200 bytes, up to 0x49e537
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Clears the last instance, then adds INSTANCE_RESET_SUCCESS with the map name as a system chat line
Confidence
verified, proof one
Name from
the community database (idb)
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.

Callers 0

None by a direct call or jump.

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.