Property | Type | Description | |
---|---|---|---|
Capacity | int | ||
ContainerParent | string | ||
ObjectsAccepted | int | ||
isOpenOnPanel | bool | ||
items | string[] | ||
start | int |
Method | Description | |
---|---|---|
AddItemMergedItemToContainer ( GameObject item ) : bool | ||
AddItemToContainer ( string item ) : bool | ||
AddItemToContainer ( string item, int index ) : bool | ||
CountItems ( ) : int |
Counts the number of items in the container..
|
|
GetBaseWeight ( ) : float | ||
GetCapacity ( ) : float | ||
GetFreeCapacity ( ) : float | ||
GetFreeSlot ( Container, cn ) : int | ||
GetGameObjectAt ( int index ) : GameObject | ||
GetItemAt ( int index ) : string | ||
GetWeight ( ) : float | ||
MaxCapacity ( ) : int | ||
OpenContainer ( ) : void | ||
RemoveItemFromContainer ( int index ) : bool | ||
RemoveItemFromContainer ( string objectName ) : bool | ||
RemoveItemFromSubContainers ( Container, cn, string objectName ) : bool | ||
SetItemsParent ( Container, cn, Transform Parent ) : void | ||
SetItemsPosition ( Container, cn, Vector3 Position ) : void | ||
SetPickedUpFlag ( Container, cn, bool NewValue ) : void | ||
SortContainer ( Container, cn ) : void | ||
SpillContents ( ) : void | ||
TestContainerRules ( Container, cn, int SlotIndex ) : bool | ||
UseObjectOnVerb_Inv ( ) : string | ||
UseVerb ( ) : string | ||
findItemOfType ( int itemid ) : string |
Finds the first item of a particular type in the container.
|
|
getEquipString ( ) : string | ||
use ( ) : bool |
public AddItemMergedItemToContainer ( GameObject item ) : bool | ||
item | GameObject | |
return | bool |
public AddItemToContainer ( string item ) : bool | ||
item | string | |
return | bool |
public AddItemToContainer ( string item, int index ) : bool | ||
item | string | |
index | int | |
return | bool |
public static GetFreeSlot ( Container, cn ) : int | ||
cn | Container, | |
return | int |
public GetGameObjectAt ( int index ) : GameObject | ||
index | int | |
return | GameObject |
public RemoveItemFromContainer ( int index ) : bool | ||
index | int | |
return | bool |
public RemoveItemFromContainer ( string objectName ) : bool | ||
objectName | string | |
return | bool |
public static RemoveItemFromSubContainers ( Container, cn, string objectName ) : bool | ||
cn | Container, | |
objectName | string | |
return | bool |
public static SetItemsParent ( Container, cn, Transform Parent ) : void | ||
cn | Container, | |
Parent | Transform | |
return | void |
public static SetItemsPosition ( Container, cn, Vector3 Position ) : void | ||
cn | Container, | |
Position | Vector3 | |
return | void |
public static SetPickedUpFlag ( Container, cn, bool NewValue ) : void | ||
cn | Container, | |
NewValue | bool | |
return | void |
public static SortContainer ( Container, cn ) : void | ||
cn | Container, | |
return | void |
public static TestContainerRules ( Container, cn, int SlotIndex ) : bool | ||
cn | Container, | |
SlotIndex | int | |
return | bool |
public findItemOfType ( int itemid ) : string | ||
itemid | int | Itemid. |
return | string |