Script::SetRaidTarget
function · ui · primitive
- Address
0x4bbec0· 445 bytes, up to0x4bc07c- Signature
int __fastcall (lua_State *L)- Meaning
- Sends opcode 0x321 to set or clear the raid target icon of a unit
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 18
- __ftol crt
- CDataStore::PutInt8 base
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- CGRaidInfo::IsMemberOrPet ui
- FindRaidTargetSlot ui
- IsPartyMemberOrPet ui
- Script::GetGUIDFromName ui
- ClientServices::Send net
- CGUnit_C::CanCooperate objectlayer
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.