ICECreatureControl  1.3.2
Public Member Functions | Static Public Member Functions | List of all members
ICE.Creatures.Objects.InventoryObject Class Reference
Inheritance diagram for ICE.Creatures.Objects.InventoryObject:
Inheritance graph
Collaboration diagram for ICE.Creatures.Objects.InventoryObject:
Collaboration graph

Public Member Functions

 InventoryObject ()
 
 InventoryObject (InventoryObject _inventory)
 
 InventoryObject (ICEWorldBehaviour _component)
 
InventoryObject Copy ()
 
void Reset ()
 
bool Insert (GameObject _object)
 
void Insert (InventoryObject _inventory)
 
int Insert (string _name, int _amount)
 
InventorySlotObject GetEmptySlot ()
 
InventorySlotObject GetSlotByItemName (string _name)
 
InventorySlotObject ForceSlotByItemName (string _name)
 
int SlotItemAmount (int _index)
 Current item amount of the specified slot. More...
 
int SlotItemAmount (int _index, string _name)
 Current item amount of the specified slot and item name More...
 
int SlotItemAmount (string _name)
 Current amount of the specified item name More...
 
int SlotItemMaxAmount (int _index)
 
string SlotItemName (int _index)
 
void Detach ()
 
void DetachOnDie ()
 
void Action (InventoryActionDataObject _action)
 
bool ItemExists (string _key)
 
- Public Member Functions inherited from ICE.Creatures.Objects.InventoryDataObject
 InventoryDataObject ()
 
 InventoryDataObject (InventoryDataObject _inventory)
 
 InventoryDataObject (ICEWorldBehaviour _component)
 
override void Init (ICEWorldBehaviour _component)
 
void Copy (InventoryObject _inventory)
 

Static Public Member Functions

static InventorySlotObject GetInventorySlot (GameObject _object, string _slot)
 
static InventoryObject GetInventory (GameObject _object)
 

Additional Inherited Members

- Public Attributes inherited from ICE.Creatures.Objects.InventoryDataObject
int MaxSlots = 9
 
bool IgnoreInventoryOwner = false
 
float DefaultDropRange = 0.5f
 
int LastCollectedObjectID = 0
 
bool UseDetachOnDie = false
 
- Properties inherited from ICE.Creatures.Objects.InventoryDataObject
List< InventorySlotObjectSlots [get, set]
 
int AvailableSlots [get]
 
List< string > AvailableItems [get]
 

Constructor & Destructor Documentation

ICE.Creatures.Objects.InventoryObject.InventoryObject ( )
ICE.Creatures.Objects.InventoryObject.InventoryObject ( InventoryObject  _inventory)
ICE.Creatures.Objects.InventoryObject.InventoryObject ( ICEWorldBehaviour  _component)

Member Function Documentation

void ICE.Creatures.Objects.InventoryObject.Action ( InventoryActionDataObject  _action)

Here is the call graph for this function:

Here is the caller graph for this function:

InventoryObject ICE.Creatures.Objects.InventoryObject.Copy ( )

Here is the caller graph for this function:

void ICE.Creatures.Objects.InventoryObject.Detach ( )
void ICE.Creatures.Objects.InventoryObject.DetachOnDie ( )
InventorySlotObject ICE.Creatures.Objects.InventoryObject.ForceSlotByItemName ( string  _name)
InventorySlotObject ICE.Creatures.Objects.InventoryObject.GetEmptySlot ( )
static InventoryObject ICE.Creatures.Objects.InventoryObject.GetInventory ( GameObject  _object)
static
static InventorySlotObject ICE.Creatures.Objects.InventoryObject.GetInventorySlot ( GameObject  _object,
string  _slot 
)
static

Here is the call graph for this function:

InventorySlotObject ICE.Creatures.Objects.InventoryObject.GetSlotByItemName ( string  _name)

Here is the caller graph for this function:

bool ICE.Creatures.Objects.InventoryObject.Insert ( GameObject  _object)

Here is the call graph for this function:

Here is the caller graph for this function:

void ICE.Creatures.Objects.InventoryObject.Insert ( InventoryObject  _inventory)
int ICE.Creatures.Objects.InventoryObject.Insert ( string  _name,
int  _amount 
)

Here is the call graph for this function:

bool ICE.Creatures.Objects.InventoryObject.ItemExists ( string  _key)
void ICE.Creatures.Objects.InventoryObject.Reset ( )

Here is the call graph for this function:

int ICE.Creatures.Objects.InventoryObject.SlotItemAmount ( int  _index)

Current item amount of the specified slot.

Returns
The item amount.
Parameters
_indexIndex.

Here is the caller graph for this function:

int ICE.Creatures.Objects.InventoryObject.SlotItemAmount ( int  _index,
string  _name 
)

Current item amount of the specified slot and item name

Returns
The item amount.
Parameters
_indexIndex.
_nameName.
int ICE.Creatures.Objects.InventoryObject.SlotItemAmount ( string  _name)

Current amount of the specified item name

Returns
The item amount.
Parameters
_nameName.
int ICE.Creatures.Objects.InventoryObject.SlotItemMaxAmount ( int  _index)

Here is the caller graph for this function:

string ICE.Creatures.Objects.InventoryObject.SlotItemName ( int  _index)

The documentation for this class was generated from the following file: