benilla-re systems structs docs

GetInventoryItemCount

Lua global function

Function
Script::GetInventoryItemCount ui
Meaning
Returns a stack count, an ammunition total or a bag's contents count for a unit's inventory slot verified, proof one
Registered in
global table s_inventoryFunctions ui
Registrar pair
0x8484e8
Arguments
at least 1 lower bound
Returns
1 values exact, kinds (number) agree

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 1