benilla-re systems structs docs

CanResetInstances

function · ui · primitive

Address
0x495c90 · 102 bytes, up to 0x495cf5
Signature
uint32_t __cdecl (void)
Meaning
Answers whether the ownership flag, the current map and the last instance map allow a reset
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.

Callers 1

Callees 1

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