메소드 |
설명 |
|
Contains ( InventoryBase obj ) : bool |
|
|
Contains ( UUID uuid ) : bool |
Used to find out if Inventory contains the InventoryObject specified by uuid . |
|
GetContents ( InventoryFolder folder ) : List |
|
|
GetContents ( UUID folder ) : List |
Returns the contents of the specified folder |
|
GetNodeFor ( UUID uuid ) : InventoryNode |
|
|
Inventory ( GridClient client, InventoryManager manager ) : System |
|
|
Inventory ( GridClient client, InventoryManager manager, UUID owner ) : System |
|
|
RemoveNodeFor ( InventoryBase item ) : void |
Removes the InventoryObject and all related node data from Inventory. |
|
UpdateNodeFor ( InventoryBase item ) : void |
Updates the state of the InventoryNode and inventory data structure that is responsible for the InventoryObject. If the item was previously not added to inventory, it adds the item, and updates structure accordingly. If it was, it updates the InventoryNode, changing the parent node if item.parentUUID does not match node.Parent.Data.UUID . You can not set the inventory root folder using this method |
|
this ( UUID uuid ) : InventoryBase |
By using the bracket operator on this class, the program can get the InventoryObject designated by the specified uuid. If the value for the corresponding UUID is null, the call is equivelant to a call to RemoveNodeFor(this[uuid]) . If the value is non-null, it is equivelant to a call to UpdateNodeFor(value) , the uuid parameter is ignored. |
|