Script::GetActionCount
function · ui · orchestration
- Address
0x4e6e70· 96 bytes, up to0x4e6ecf- Signature
int __fastcall (lua_State *L)- Meaning
- Returns an item slot's cached count
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/actionbar#item-slot-counts
Finding: Item slot counts in ui: action bars
0x4e6d20(entry) counts an item for a slot: 0 without an active player; otherwise it requests the
template (callback 0x4e5b80) and, when the template's charges (+0x144) are neither 0 nor -1, sums the
absolute spell charges of the entry's items with 0x622180, else the stack counts with 0x622130. The
walk uses mask 0, which widens to equipment, bag slots, backpack and keyring, entering bags and
leaving out the bank (objectlayer/inventory), so a worn item counts. 0x4e6c70(slot) is
GetActionCount: the cached 0xbc6390 for an item slot, else 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 6
- __ftol crt
- GetActionSlotCount ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.