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 (raise an issue to discuss on Github or submit a PR)
- return type
integer- Source code
native UnitInventorySize takes unit whichUnit returns integer