Property | Type | Description | |
---|---|---|---|
Items | InventoryItemBase>.Dictionary | ||
PATH_DELIMITER | string |
Method | Description | |
---|---|---|
AddChildFolder ( |
Add a folder that already exists.
|
|
ContainsChildFolder ( UUID folderID ) : bool |
Does this folder contain the given child folder?
|
|
CreateChildFolder ( UUID folderID, string folderName, ushort type ) : |
Create a new subfolder.
|
|
DeleteItem ( UUID itemID ) : bool |
Deletes an item if it exists in this folder or any children
|
|
FindAsset ( UUID assetID ) : |
||
FindFolder ( UUID folderID ) : |
Returns the folder requested if it is this folder or is a descendent of this folder. The search is depth first.
|
|
FindFolderByPath ( string path ) : |
Find a folder given a PATH_DELIMITER delimited path starting from this folder
|
|
FindFolderForType ( short type ) : |
Look through all child subfolders for a folder marked as one for a particular folder type, and return it.
|
|
FindItem ( UUID itemID ) : |
Returns the item if it exists in this folder or in any of this folder's descendant folders
|
|
FindItemByPath ( string path ) : |
Find an item given a PATH_DELIMITOR delimited path starting from this folder. This method does not handle paths that contain multiple delimiters FIXME: We do not yet handle situations where folders or items have the same name. We could handle this by some XPath like expression FIXME: Delimiters which occur in names themselves are not currently escapable.
|
|
GetChildFolder ( UUID folderID ) : |
Get a child folder
|
|
InventoryFolderImpl ( ) : System | ||
InventoryFolderImpl ( |
||
Purge ( ) : void |
Delete all the folders and items in this folder.
|
|
RemoveChildFolder ( UUID folderID ) : |
Removes the given child subfolder.
|
|
RequestListOfFolderImpls ( ) : List |
||
RequestListOfFolders ( ) : List |
Return a copy of the list of child folders in this folder. The folders themselves are the originals.
|
|
RequestListOfItems ( ) : List |
Return a copy of the list of child items in this folder. The items themselves are the originals.
|
public AddChildFolder ( |
||
folder | ||
return | void |
public ContainsChildFolder ( UUID folderID ) : bool | ||
folderID | UUID | |
return | bool |
public CreateChildFolder ( UUID folderID, string folderName, ushort type ) : |
||
folderID | UUID | |
folderName | string | |
type | ushort | |
return |
public FindAsset ( UUID assetID ) : |
||
assetID | UUID | |
return |
public FindFolder ( UUID folderID ) : |
||
folderID | UUID | |
return |
public FindFolderByPath ( string path ) : |
||
path | string | /// The path to the required folder. /// It this is empty or consists only of the PATH_DELIMTER then this folder itself is returned. /// |
return |
public FindFolderForType ( short type ) : |
||
type | short | |
return |
public FindItem ( UUID itemID ) : |
||
itemID | UUID | |
return |
public FindItemByPath ( string path ) : |
||
path | string | /// The path to the required item. /// |
return |
public GetChildFolder ( UUID folderID ) : |
||
folderID | UUID | |
return |
public InventoryFolderImpl ( |
||
folderbase | ||
return | System |
public RemoveChildFolder ( UUID folderID ) : |
||
folderID | UUID | |
return |