Container.getSize
Returns the number of slots in a container.
Kind: Function
Environments: Game
Game
container:getSize( )
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Container | The container. |
Returns:
| Type | Description |
|---|---|
| integer | The size. |
Returns the number of slots in a container.
Kind: Function
Environments: Game
container:getSize( )
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Container | The container. |
Returns:
| Type | Description |
|---|---|
| integer | The size. |