Script::GetLootMethod
function · ui · primitive
- Address
0x4e91b0· 207 bytes, up to0x4e927e- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the loot method name and the master looter's party index, or nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/masterloot#reading-the-loot-settings
Finding: Reading the loot settings in ui: master loot and the loot method
GetLootMethod() returns two values: the method name as a string (freeforall, roundrobin, master, group,
needbeforegreed, or ERROR! above 4) and the master looter's party index, nil with no looter. The index is 0 when the
looter is the player and otherwise 1 to 4 for the matching slot of the four party GUIDs; a looter outside the player's
party, including a raid member, gives nil. There is no third return. GetLootThreshold() returns the stored threshold
as a number and ignores its arguments.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- ClntObjMgrGetActivePlayer objectlayer
- GetPartyMemberGuid ui
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
Calls and jumps by a bare address, from tables/calls.tsv.