SetGroupLootSettings
function · ui · primitive
- Address
0x4e86f0· 282 bytes, up to0x4e8809- Signature
void __fastcall (uint32_t method, uint32_t threshold, uint64_t looter)- Meaning
- Stores the group loot method, master looter and threshold, showing a message for each change
- Confidence
- verified, proof one
- Finding
- ui/masterloot#the-groups-loot-settings
Finding: The group's loot settings in ui: master loot and the loot method
Three cells hold the group's loot setup: the method 0xbc7600 (0 free for all, 1 round robin, 2 master, 3 group, 4
need before greed), the master looter's GUID 0xbc7608 (u64) and the threshold 0xbc7610. 0x4e86f0(method, threshold, looter) stores them, called from the group list packet whenever it carries members. For each value that differs from
the stored one it first shows a message: the method, one of ERR_SET_LOOT_FREEFORALL, _ROUNDROBIN, _MASTER,
_GROUP and _NBG (ids 0xe6 to 0xea, in method order); a new nonzero looter, when the method is 2 and the name is
cached, ERR_NEW_LOOT_MASTER_S (0xec); the threshold, ERR_SET_LOOT_THRESHOLD_S (0xeb) with the text of the global
ITEM_QUALITY<n>_DESC. Then, on every call, it signals PARTY_LOOT_METHOD_CHANGED (222) with no arguments.
The derivation is in the doc.
Callers 1
- ReadGroupList objectlayer
Callees 5
- CGGameUI::DisplayError ui
- DBCache::NameCache::GetRecord dbcache
- SStrPrintf storm
- FrameScript_GetText ui
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.