benilla-re systems structs docs

Script::UnitInRaid

function · ui · orchestration

Address
0x516350 · 83 bytes, up to 0x5163a2
Signature
int __fastcall (lua_State *L)
Meaning
Pushes 1 when a unit is a raid member, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/raid#group-leader-and-membership

Finding: Group leader and membership in ui: the raid roster, ready check and raid targets

IsRaidLeader() takes no argument and pushes 1 when the group leader cell 0xbc75f8 is the active player's GUID, else nil. The cell is the same one IsPartyLeader reads, so a party leader is a raid leader to this function. UnitInRaid(unit) pushes the number 1, not an index, when the unit's GUID is a roster member's, else nil; a recognised token that names nothing, an empty argument and a non-string give nil, and a token no prefix matches raises (unittokens#the-unit-token). GetNumRaidMembers() pushes 0xb713e0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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