IsPartyMemberOrPet
function · ui · primitive
- Address
0x4e8fa0· 170 bytes, up to0x4e9049- Meaning
- Answers 1 when a GUID is a party member or the pet of one, 0 for a null GUID or no match
- Confidence
- verified, proof one
- Finding
- ui/raid#setting-a-raid-target
Finding: Setting a raid target in ui: the raid roster, ready check and raid targets
SetRaidTarget(unit, index) raises Usage: SetRaidTarget(unit, index) for a bad argument, returns no value and
sends opcode 0x321: u8 slot, u64 guid, 13 bytes. The slot is the low byte of index minus 1 when that is 0 to 7. Any other index clears: the slot is the one the unit holds and the GUID is 0;
a unit with no icon sends nothing, and a unit with GUID 0 returns silently. For a slot 0 to 7 the unit must be a raid or party member or pet, an NPC, a player the
local player can cooperate with, or the local player; else ERR_INVALID_RAID_TARGET is shown and nothing is sent. No leader check.
The derivation is in the doc.
Callers 2
Callees 3
- ClntObjMgrObjectPtr objectlayer
- GetPartyMemberGuid ui
- CountPartyMembers ui
Calls and jumps by a bare address, from tables/calls.tsv.