|
|
__init__(self,
capacity=0,
items=None,
**kwargs)
Initialise minimalistic set of data |
source code
|
|
|
|
|
|
|
_placeAtVacant(self,
item)
Places an item at a vacant slot |
source code
|
|
|
|
|
|
|
|
|
|
removeItem(self,
item)
Removes an item from the container, basically the same as 'takeItem'
but does run a different script. |
source code
|
|
|
|
count(self,
item_type="")
Returns the number of items |
source code
|
|
|
|
getContentsBulk(self)
Bulk of the container contents |
source code
|
|
|
|
|
|
|
indexOf(self,
ID)
Returns the index of the item with the passed ID |
source code
|
|
|
|
findItemByID(self,
ID)
Returns the item with the passed ID |
source code
|
|
|
|
findItemByItemType(self,
item_type)
Returns the item with the passed item_type |
source code
|
|
|
|
|
|
|
serializeItems(self)
Returns the items as a list |
source code
|
|
|
|
|
|
Inherited from DynamicObject:
__getstate__,
__setstate__,
prepareStateForSaving,
restoreState
Inherited from Scriptable:
runScript,
setScript
Inherited from BaseObject:
trueAttr
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|