How to get the count of all slots?
Foreword: Google translate

There is a box and how do I get the number of all slots?
lootbox
i tried like this:
void OnLootEntity(BasePlayer player, StorageContainer container)
{
    var total = container.inventorySlots;
    Puts("Total slots: {0}", total)
}​
Logs: "Total slots: 7"
And I would like to see 12
How do I get the total number of slots? Please tell me who can.

try  container.inventory.capacity

Outputs the same as my version