UnitInventorySize
- Parameters
whichUnit unitTarget unit.
- comment
Returns amount of inventory slots for unit (0 to
bj_MAX_INVENTORYinclusive). Returns zero if unit is invalid or has no inventory.- patch
1.17a
- Source
- common.j (suggest an edit or discuss on Github)
- return type
integer- Source code
native UnitInventorySize takes unit whichUnit returns integer