Skip to content

Metatable:Container

Christian Johansson edited this page Aug 20, 2014 · 4 revisions

No description available at the moment. ###Available methods: addItem()
addItemEx()
getCapacity()
getEmptySlots()
getItem()
getItemCountById()
getItemHoldingCount()
getSize()
hasItem()
isContainer()


###### addItem() ```Lua local container = Container(...) container:addItem() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### addItemEx() ```Lua local container = Container(...) container:addItemEx() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### getCapacity() ```Lua local container = Container(...) container:getCapacity() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### getEmptySlots() ```Lua local container = Container(...) container:getEmptySlots() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### getItem() ```Lua local container = Container(...) container:getItem() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### getItemCountById() ```Lua local container = Container(...) container:getItemCountById() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### getItemHoldingCount() ```Lua local container = Container(...) container:getItemHoldingCount() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### getSize() ```Lua local container = Container(...) container:getSize() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### hasItem() ```Lua local container = Container(...) container:hasItem() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
###### isContainer() ```Lua local container = Container(...) container:isContainer() ``` > **Description:** N/A > **Parameters:** N/A > **Returns:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0
Clone this wiki locally