IsRaidMemberOrPet
function · ui · primitive
- Address
0x491900· 32 bytes, up to0x49191f- Meaning
- Returns 1 when a GUID is a party or raid member or pet, 0 for a zero GUID
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/unitplayer#friend-and-cooperation-fallbacks
Finding: Friend and cooperation fallbacks in ui: the player token before the player object
UnitIsFriend and UnitCanCooperate take two tokens. When either object is missing, or the reaction is below 4, each side that is exactly the string player hands the other side's GUID to 0x491900: friendly when that GUID is
the player's own, its charm or summon, or on the party or raid roster. This needs no object, and it is not the record.
The derivation is in the doc.
Callers 5
- CGGameUI::Target ui
- Script::UnitExists ui
- Script::UnitIsFriend ui
- Script::UnitCanCooperate ui
- CGUnit_C::Release objectlayer
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.