Метод | Описание | |
---|---|---|
AssetTypeToString ( AssetType type ) : string |
Takes an AssetType and returns the string representation
|
|
CreateFolder ( UUID parentID, string name ) : UUID |
Creates a new inventory folder
|
|
CreateFolder ( UUID parentID, string name, AssetType preferredType ) : UUID |
Creates a new inventory folder If you specify a preferred type of |
|
CreateInventoryItem ( InventoryType type, UUID id ) : |
Wrapper for creating a new InventoryItem object
|
|
EmptyLostAndFound ( ) : void |
Empty the Lost and Found folder
|
|
EmptyTrash ( ) : void |
Empty the Trash folder
|
|
FetchItem ( UUID itemID, UUID ownerID, int timeoutMS ) : |
Fetch an inventory item from the dataserver Items will also be sent to the InventoryManager.OnItemReceived event |
|
FindFolderForType ( AssetType type ) : UUID |
Returns the UUID of the folder (category) that defaults to containing 'type'. The folder is not necessarily only for that type This will return the root folder if one does not exist |
|
FindObjectByPath ( UUID baseFolder, UUID inventoryOwner, string path, int timeoutMS ) : UUID |
Find an object in inventory using a specific path to search
|
|
FolderContents ( UUID folder, UUID owner, bool folders, bool items, InventorySortOrder order, int timeoutMS ) : List |
Get contents of a folder InventoryFolder.DescendentCount will only be accurate if both folders and items are requested |
|
GetTaskInventory ( UUID objectID, uint objectLocalID, int timeoutMS ) : List |
Get the inventory of a Task (Primitive)
|
|
GiveFolder ( UUID folderID, string folderName, AssetType assetType, UUID recipient, bool doEffect ) : void |
Give an inventory Folder with contents to another avatar
|
|
GiveItem ( UUID itemID, string itemName, AssetType assetType, UUID recipient, bool doEffect ) : void |
Give an inventory item to another avatar
|
|
InventoryManager ( |
Default constructor
|
|
InventoryTypeToString ( InventoryType type ) : string |
Convert an InventoryType to a string
|
|
ItemCRC ( |
Create a CRC from an InventoryItem
|
|
LocalFind ( UUID baseFolder, string path, int level, bool firstOnly ) : List |
Search inventory Store object for an item or folder
|
|
Move ( |
Move an inventory item or folder to a new location
|
|
Move ( |
Move an inventory item or folder to a new location and change its name
|
|
MoveFolder ( UUID folderID, UUID newParentID ) : void |
Move a folder
|
|
MoveFolder ( UUID folderID, UUID newparentID, string newName ) : void |
Move and rename a folder
|
|
MoveFolders ( UUID>.Dictionary |
Move multiple folders, the keys in the Dictionary parameter, to a new parents, the value of that folder's key.
|
|
MoveItem ( UUID itemID, UUID folderID ) : void |
Move an inventory item to a new folder
|
|
MoveItem ( UUID itemID, UUID folderID, string newName ) : void |
Move and rename an inventory item
|
|
MoveItems ( UUID>.Dictionary |
Move multiple inventory items to new locations
|
|
MoveTaskInventory ( uint objectLocalID, UUID taskItemID, UUID inventoryFolderID, |
Moves an Item from an objects (Prim) Inventory to the specified folder in the avatars inventory
|
|
ParseTaskInventory ( string taskData ) : List |
Parse the results of a RequestTaskInventory() response
|
|
Remove ( List |
Remove multiple items or folders from inventory
|
|
RemoveDescendants ( UUID folder ) : void |
Remove descendants of a folder
|
|
RemoveFolder ( UUID folder ) : void |
Remove a folder from inventory
|
|
RemoveItem ( UUID item ) : void |
Remove a single item from inventory
|
|
RemoveTaskInventory ( uint objectLocalID, UUID taskItemID, |
Remove an item from an objects (Prim) Inventory
|
|
RequestCopyItem ( UUID item, UUID newParent, string newName, ItemCopiedCallback callback ) : void |
|
|
RequestCopyItem ( UUID item, UUID newParent, string newName, UUID oldOwnerID, ItemCopiedCallback callback ) : void |
|
|
RequestCopyItemFromNotecard ( UUID objectID, UUID notecardID, UUID folderID, UUID itemID, ItemCopiedCallback callback ) : void |
Request a copy of an asset embedded within a notecard
|
|
RequestCopyItems ( List |
|
|
RequestCreateItem ( UUID parentFolder, string name, string description, AssetType type, UUID assetTransactionID, InventoryType invType, PermissionMask nextOwnerMask, ItemCreatedCallback callback ) : void |
|
|
RequestCreateItem ( UUID parentFolder, string name, string description, AssetType type, UUID assetTransactionID, InventoryType invType, WearableType wearableType, PermissionMask nextOwnerMask, ItemCreatedCallback callback ) : void |
|
|
RequestCreateItemFromAsset ( byte data, string name, string description, AssetType assetType, InventoryType invType, UUID folderID, OpenMetaverse.Capabilities.CapsClient progCallback, ItemCreatedFromAssetCallback callback ) : void | ||
RequestDeRezToInventory ( uint objectLocalID ) : void |
DeRez an object from the simulator to the agents Objects folder in the agents Inventory
|
|
RequestDeRezToInventory ( uint objectLocalID, DeRezDestination destType, UUID destFolder, UUID transactionID ) : void |
DeRez an object from the simulator and return to inventory
|
|
RequestFetchInventory ( List |
Request inventory items
|
|
RequestFetchInventory ( UUID itemID, UUID ownerID ) : void |
Request A single inventory item
|
|
RequestFindObjectByPath ( UUID baseFolder, UUID inventoryOwner, string path ) : void |
Find inventory items by path Results are sent to the InventoryManager.OnFindObjectByPath event |
|
RequestFolderContents ( UUID folder, UUID owner, bool folders, bool items, InventorySortOrder order ) : void |
Request the contents of an inventory folder
|
|
RequestRezFromInventory ( |
Rez an object from inventory
|
|
RequestRezFromInventory ( |
Rez an object from inventory
|
|
RequestRezFromInventory ( |
Rez an object from inventory
|
|
RequestTaskInventory ( uint objectLocalID ) : void |
|
|
RequestTaskInventory ( uint objectLocalID, |
Request the contents of a tasks (primitives) inventory
|
|
RequestUpdateItem ( |
|
|
RequestUpdateItems ( List |
|
|
RequestUpdateItems ( List |
|
|
RequestUploadNotecardAsset ( byte data, UUID notecardID, NotecardUploadedAssetCallback callback ) : void |
|
|
SaleTypeToString ( SaleType type ) : string | ||
StringToAssetType ( string type ) : AssetType |
Translate a string name of an AssetType into the proper Type
|
|
StringToInventoryType ( string type ) : InventoryType |
Convert a string into a valid InventoryType
|
|
StringToSaleType ( string value ) : SaleType | ||
UpdateTaskInventory ( uint objectLocalID, InventoryItem item ) : UUID |
|
Метод | Описание | |
---|---|---|
BulkUpdateInventoryHandler ( |
||
CreateItemFromAssetResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD result, |
||
EmptySystemFolder ( AssetType folderType ) : void | ||
FetchInventoryReplyHandler ( |
||
InventoryDescendentsHandler ( |
||
MoveInventoryItemHandler ( |
||
Network_OnLoginResponse ( bool loginSuccess, bool redirect, string message, string reason, |
||
ParseLine ( string line, string &key, string &value ) : bool | ||
RegisterItemCreatedCallback ( ItemCreatedCallback callback ) : uint | ||
RegisterItemsCopiedCallback ( ItemCopiedCallback callback ) : uint | ||
ReplyTaskInventoryHandler ( |
||
SafeCreateInventoryItem ( InventoryType InvType, UUID ItemID ) : |
||
SaveAssetIntoInventoryHandler ( |
||
Self_OnInstantMessage ( |
||
UpdateCreateInventoryItemHandler ( Packet packet, Simulator simulator ) : void |
UpdateCreateInventoryItem packets are received when a new inventory item is created. This may occur when an object that's rezzed in world is taken into inventory, when an item is created using the CreateInventoryItem packet, or when an object is purchased
|
|
UploadNotecardAssetResponse ( CapsClient client, OSD result, Exception error ) : void |
public static AssetTypeToString ( AssetType type ) : string | ||
type | AssetType | The source |
Результат | string |
public CreateFolder ( UUID parentID, string name ) : UUID | ||
parentID | UUID | ID of the folder to put this folder in |
name | string | Name of the folder to create |
Результат | UUID |
public CreateFolder ( UUID parentID, string name, AssetType preferredType ) : UUID | ||
parentID | UUID | ID of the folder to put this folder in |
name | string | Name of the folder to create |
preferredType | AssetType | Sets this folder as the default folder
/// for new assets of the specified type. Use AssetType.Unknown
/// to create a normal folder, otherwise it will likely create a
/// duplicate of an existing folder type |
Результат | UUID |
public static CreateInventoryItem ( InventoryType type, UUID id ) : |
||
type | InventoryType | The type of item from the |
id | UUID | The |
Результат |
public FetchItem ( UUID itemID, UUID ownerID, int timeoutMS ) : |
||
itemID | UUID | The items |
ownerID | UUID | The item Owners |
timeoutMS | int | a integer representing the number of milliseconds to wait for results |
Результат |
public FindFolderForType ( AssetType type ) : UUID | ||
type | AssetType | |
Результат | UUID |
public FindObjectByPath ( UUID baseFolder, UUID inventoryOwner, string path, int timeoutMS ) : UUID | ||
baseFolder | UUID | The folder to begin the search in |
inventoryOwner | UUID | The object owners |
path | string | A string path to search |
timeoutMS | int | milliseconds to wait for a reply |
Результат | UUID |
public FolderContents ( UUID folder, UUID owner, bool folders, bool items, InventorySortOrder order, int timeoutMS ) : List |
||
folder | UUID | The |
owner | UUID | The |
folders | bool | true to retrieve folders |
items | bool | true to retrieve items |
order | InventorySortOrder | sort order to return results in |
timeoutMS | int | a integer representing the number of milliseconds to wait for results |
Результат | List |
public GetTaskInventory ( UUID objectID, uint objectLocalID, int timeoutMS ) : List |
||
objectID | UUID | The tasks |
objectLocalID | uint | The tasks simulator local ID |
timeoutMS | int | milliseconds to wait for reply from simulator |
Результат | List |
public GiveFolder ( UUID folderID, string folderName, AssetType assetType, UUID recipient, bool doEffect ) : void | ||
folderID | UUID | The |
folderName | string | The name of the folder |
assetType | AssetType | The type of the item from the |
recipient | UUID | The |
doEffect | bool | true to generate a beameffect during transfer |
Результат | void |
public GiveItem ( UUID itemID, string itemName, AssetType assetType, UUID recipient, bool doEffect ) : void | ||
itemID | UUID | The |
itemName | string | The name of the item |
assetType | AssetType | The type of the item from the |
recipient | UUID | The |
doEffect | bool | true to generate a beameffect during transfer |
Результат | void |
public InventoryManager ( |
||
client | Reference to the GridClient object | |
Результат | System |
public static InventoryTypeToString ( InventoryType type ) : string | ||
type | InventoryType | The |
Результат | string |
public static ItemCRC ( |
||
iitem | The source InventoryItem | |
Результат | uint |
public LocalFind ( UUID baseFolder, string path, int level, bool firstOnly ) : List |
||
baseFolder | UUID | The folder to begin the search in |
path | string | An array which creates a path to search |
level | int | Number of levels below baseFolder to conduct searches |
firstOnly | bool | if True, will stop searching after first match is found |
Результат | List |
public Move ( |
||
item | The |
|
newParent | The |
|
Результат | void |
public Move ( |
||
item | The |
|
newParent | The |
|
newName | string | The name to change the item or folder to |
Результат | void |
public MoveFolder ( UUID folderID, UUID newParentID ) : void | ||
folderID | UUID | The source folders |
newParentID | UUID | The destination folders |
Результат | void |
public MoveFolder ( UUID folderID, UUID newparentID, string newName ) : void | ||
folderID | UUID | The source folders |
newparentID | UUID | The destination folders |
newName | string | The name to change the folder to |
Результат | void |
public MoveFolders ( UUID>.Dictionary |
||
foldersNewParents | UUID>.Dictionary | A Dictionary containing the
/// |
Результат | void |
public MoveItem ( UUID itemID, UUID folderID ) : void | ||
itemID | UUID | The |
folderID | UUID | The |
Результат | void |
public MoveItem ( UUID itemID, UUID folderID, string newName ) : void | ||
itemID | UUID | The |
folderID | UUID | The |
newName | string | The name to change the folder to |
Результат | void |
public MoveItems ( UUID>.Dictionary |
||
itemsNewParents | UUID>.Dictionary | A Dictionary containing the
/// |
Результат | void |
public MoveTaskInventory ( uint objectLocalID, UUID taskItemID, UUID inventoryFolderID, |
||
objectLocalID | uint | LocalID of the object in the simulator |
taskItemID | UUID | UUID of the task item to move |
inventoryFolderID | UUID | UUID of the folder to move the item to |
simulator | Simulator Object | |
Результат | void |
public static ParseTaskInventory ( string taskData ) : List |
||
taskData | string | A string which contains the data from the task reply |
Результат | List |
public Remove ( List |
||
items | List |
A List containing the |
folders | List |
A List containing the |
Результат | void |
public RemoveDescendants ( UUID folder ) : void | ||
folder | UUID | The |
Результат | void |
public RemoveFolder ( UUID folder ) : void | ||
folder | UUID | The |
Результат | void |
public RemoveItem ( UUID item ) : void | ||
item | UUID | The |
Результат | void |
public RemoveTaskInventory ( uint objectLocalID, UUID taskItemID, |
||
objectLocalID | uint | LocalID of the object in the simulator |
taskItemID | UUID | UUID of the task item to remove |
simulator | Simulator Object | |
Результат | void |
public RequestCopyItem ( UUID item, UUID newParent, string newName, ItemCopiedCallback callback ) : void | ||
item | UUID | |
newParent | UUID | |
newName | string | |
callback | ItemCopiedCallback | |
Результат | void |
public RequestCopyItem ( UUID item, UUID newParent, string newName, UUID oldOwnerID, ItemCopiedCallback callback ) : void | ||
item | UUID | |
newParent | UUID | |
newName | string | |
oldOwnerID | UUID | |
callback | ItemCopiedCallback | |
Результат | void |
public RequestCopyItemFromNotecard ( UUID objectID, UUID notecardID, UUID folderID, UUID itemID, ItemCopiedCallback callback ) : void | ||
objectID | UUID | Usually UUID.Zero for copying an asset from a notecard |
notecardID | UUID | UUID of the notecard to request an asset from |
folderID | UUID | Target folder for asset to go to in your inventory |
itemID | UUID | UUID of the embedded asset |
callback | ItemCopiedCallback | callback to run when item is copied to inventory |
Результат | void |
public RequestCopyItems ( List |
||
items | List |
|
targetFolders | List |
|
newNames | List |
|
oldOwnerID | UUID | |
callback | ItemCopiedCallback | |
Результат | void |
public RequestCreateItem ( UUID parentFolder, string name, string description, AssetType type, UUID assetTransactionID, InventoryType invType, PermissionMask nextOwnerMask, ItemCreatedCallback callback ) : void | ||
parentFolder | UUID | |
name | string | |
description | string | |
type | AssetType | |
assetTransactionID | UUID | Proper use is to upload the inventory's asset first, then provide the Asset's TransactionID here. |
invType | InventoryType | |
nextOwnerMask | PermissionMask | |
callback | ItemCreatedCallback | |
Результат | void |
public RequestCreateItem ( UUID parentFolder, string name, string description, AssetType type, UUID assetTransactionID, InventoryType invType, WearableType wearableType, PermissionMask nextOwnerMask, ItemCreatedCallback callback ) : void | ||
parentFolder | UUID | |
name | string | |
description | string | |
type | AssetType | |
assetTransactionID | UUID | Proper use is to upload the inventory's asset first, then provide the Asset's TransactionID here. |
invType | InventoryType | |
wearableType | WearableType | |
nextOwnerMask | PermissionMask | |
callback | ItemCreatedCallback | |
Результат | void |
public RequestCreateItemFromAsset ( byte data, string name, string description, AssetType assetType, InventoryType invType, UUID folderID, OpenMetaverse.Capabilities.CapsClient progCallback, ItemCreatedFromAssetCallback callback ) : void | ||
data | byte | |
name | string | |
description | string | |
assetType | AssetType | |
invType | InventoryType | |
folderID | UUID | |
progCallback | OpenMetaverse.Capabilities.CapsClient | |
callback | ItemCreatedFromAssetCallback | |
Результат | void |
public RequestDeRezToInventory ( uint objectLocalID ) : void | ||
objectLocalID | uint | The simulator Local ID of the object |
Результат | void |
public RequestDeRezToInventory ( uint objectLocalID, DeRezDestination destType, UUID destFolder, UUID transactionID ) : void | ||
objectLocalID | uint | The simulator Local ID of the object |
destType | DeRezDestination | The type of destination from the |
destFolder | UUID | The destination inventory folders |
transactionID | UUID | The transaction ID for this request which /// can be used to correlate this request with other packets |
Результат | void |
public RequestFetchInventory ( List |
||
itemIDs | List |
Inventory items to request |
ownerIDs | List |
Owners of the inventory items |
Результат | void |
public RequestFetchInventory ( UUID itemID, UUID ownerID ) : void | ||
itemID | UUID | The items |
ownerID | UUID | The item Owners |
Результат | void |
public RequestFindObjectByPath ( UUID baseFolder, UUID inventoryOwner, string path ) : void | ||
baseFolder | UUID | The folder to begin the search in |
inventoryOwner | UUID | The object owners |
path | string | A string path to search, folders/objects separated by a '/' |
Результат | void |
public RequestFolderContents ( UUID folder, UUID owner, bool folders, bool items, InventorySortOrder order ) : void | ||
folder | UUID | The folder to search |
owner | UUID | The folder owners |
folders | bool | true to return |
items | bool | true to return |
order | InventorySortOrder | the sort order to return items in |
Результат | void |
public RequestRezFromInventory ( |
||
simulator | Simulator to place object in | |
rotation | Quaternion | Rotation of the object when rezzed |
position | System.Vector3 | Vector of where to place object |
item | InventoryItem object containing item details | |
Результат | UUID |
public RequestRezFromInventory ( |
||
simulator | Simulator to place object in | |
rotation | Quaternion | Rotation of the object when rezzed |
position | System.Vector3 | Vector of where to place object |
item | InventoryItem object containing item details | |
groupOwner | UUID | UUID of group to own the object |
Результат | UUID |
public RequestRezFromInventory ( |
||
simulator | Simulator to place object in | |
rotation | Quaternion | Rotation of the object when rezzed |
position | System.Vector3 | Vector of where to place object |
item | InventoryItem object containing item details | |
groupOwner | UUID | UUID of group to own the object |
queryID | UUID | User defined queryID to correlate replies |
requestObjectDetails | bool | if set to true the simulator /// will automatically send object detail packet(s) back to the client |
Результат | UUID |
public RequestTaskInventory ( uint objectLocalID ) : void | ||
objectLocalID | uint | |
Результат | void |
public RequestTaskInventory ( uint objectLocalID, |
||
objectLocalID | uint | The simulator Local ID of the object |
simulator | A reference to the simulator object that contains the object | |
Результат | void |
public RequestUpdateItem ( |
||
item | ||
Результат | void |
public RequestUpdateItems ( List |
||
items | List |
|
Результат | void |
public RequestUpdateItems ( List |
||
items | List |
|
transactionID | UUID | |
Результат | void |
public RequestUploadNotecardAsset ( byte data, UUID notecardID, NotecardUploadedAssetCallback callback ) : void | ||
data | byte | |
notecardID | UUID | |
callback | NotecardUploadedAssetCallback | |
Результат | void |
public static SaleTypeToString ( SaleType type ) : string | ||
type | SaleType | |
Результат | string |
public static StringToAssetType ( string type ) : AssetType | ||
type | string | A string containing the AssetType name |
Результат | AssetType |
public static StringToInventoryType ( string type ) : InventoryType | ||
type | string | A string representation of the InventoryType to convert |
Результат | InventoryType |
public static StringToSaleType ( string value ) : SaleType | ||
value | string | |
Результат | SaleType |
public UpdateTaskInventory ( uint objectLocalID, InventoryItem item ) : UUID | ||
objectLocalID | uint | |
item | InventoryItem | |
Результат | UUID |