benilla-re systems structs docs

Script::CloseLoot

function · ui · orchestration

Address
0x4c2ec0 · 30 bytes, up to 0x4c2edd
Signature
int __fastcall (lua_State *L)
Meaning
Closes the loot with release, showing ERR_LOOT_NO_UI for a true argument
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/loot#loot-functions

Finding: Loot functions in ui: the loot window

LootSlot(index) (1-based) calls 0x4c2790(index - 1, 1), the confirmation form, which acts only on the pending row; no Lua function takes a row directly, the take lives in the row widget's click. CloseLoot([flag]) closes the loot with release; a true argument also shows ERR_LOOT_NO_UI. IsFishingLoot() returns 1 when the stored loot type is 3, else nil. SetLootPortrait(texture) bakes the loot source unit's portrait into a texture (0x524f60) and returns 1, or clears the texture and returns nil when the source is not a unit.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.