Foreword: Google translate
There is a box and how do I get the number of all slots?

i tried like this:
There is a box and how do I get the number of all slots?

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