Свойство | Тип | Описание | |
---|---|---|---|
m_DefaultLSLScript | string | ||
m_scene | IScene |
Метод | Описание | |
---|---|---|
AddInventoryItem ( |
Add the given inventory item to a user's inventory.
|
|
AddInventoryItemAsync ( IClientAPI remoteClient, |
Add an inventory item to an avatar's inventory.
|
|
AddInventoryItemAsync ( |
Add the given inventory item to a user's inventory.
|
|
AddRegion ( IScene scene ) : void | ||
Close ( ) : void | ||
Initialize ( IConfigSource source ) : void | ||
MoveTaskInventoryItemToObject ( UUID destId, ISceneChildEntity part, UUID itemId ) : void |
Copy a task (prim) inventory item to another task (prim)
|
|
MoveTaskInventoryItemToUserInventory ( UUID avatarId, UUID folderId, ISceneChildEntity part, UUID itemId, bool checkPermissions ) : |
Move the given item from the object task inventory to the agent's inventory
|
|
MoveTaskInventoryItemsToUserInventory ( UUID destID, string name, ISceneChildEntity host, List |
Move the given items from the object task inventory to the agent's inventory
|
|
NoteCardAgentInventory ( UUID agentID, string path, Stream request, |
Called by the notecard update handler. Provides a URL to which the client can upload a new asset.
|
|
RegionLoaded ( IScene scene ) : void | ||
RemoveRegion ( IScene scene ) : void | ||
ReturnObjects ( ISceneEntity returnobjects, UUID agentId ) : bool |
Return the given objects to the agent given
|
|
RezScript ( UUID srcId, ISceneChildEntity srcPart, UUID destId, int pin, int running, int startParam ) : void |
Rez a script into a prim's inventory from another prim This is used for the LSL function llRemoteLoadScriptPin and requires a valid pin to be used
|
|
ScriptTaskInventory ( UUID AgentID, string path, Stream request, |
Called by the script task update handler. Provides a URL to which the client can upload a new asset.
|
|
TaskInventoryUpdaterHandle ( UUID AgentID, string path, Stream request, |
Called by the script task update handler. Provides a URL to which the client can upload a new asset.
|
Метод | Описание | |
---|---|---|
ChangeInventoryItemFlags ( IClientAPI remoteClient, UUID itemID, uint flags ) : void |
Change an inventory items flags
|
|
ClientMoveTaskInventoryItemToUserInventory ( IClientAPI remoteClient, UUID folderId, uint primLocalId, UUID itemId ) : void |
Move the inventory folder to another place in the user's inventory
|
|
CopyInventoryItem ( IClientAPI remoteClient, uint callbackID, UUID oldAgentID, UUID oldItemID, UUID newFolderID, string newName ) : void |
Copy an inventory item in the user's inventory
|
|
CreateNewInventoryItem ( IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte assetType, byte wearableType, uint nextOwnerMask, int creationDate ) : void |
Create a new inventory item. Called when the client creates a new item directly within their inventory (e.g. by selecting a context inventory menu option).
|
|
CreateNewInventoryItem ( IClientAPI remoteClient, string creatorID, string creatorData, UUID folderID, string name, uint flags, uint callbackID, |
Create a new Inventory Item
|
|
DeRezObjects ( IClientAPI remoteClient, List |
Delete the given objects from the Scene and move them into the client's inventory
|
|
EventManager_OnClosingClient ( IClientAPI client ) : void |
Remove ourselves from the inventory events
|
|
EventManager_OnNewClient ( IClientAPI client ) : void |
Hook up to the client inventory events
|
|
HandleCreateInventoryFolder ( IClientAPI remoteClient, UUID folderID, ushort folderType, string folderName, UUID parentID ) : void |
Handle an inventory folder creation request from the client.
|
|
HandleFetchInventory ( IClientAPI remoteClient, UUID itemID, UUID ownerID ) : void |
Handle a fetch inventory request from the client
|
|
HandleFetchInventoryDescendents ( IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder ) : void |
Tell the client about the various child items and folders contained in the requested folder.
|
|
HandleLinkInventoryItem ( IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, UUID olditemID ) : void |
Create a new 'link' to another inventory item Used in Viewer 2 for appearance.
|
|
HandleMoveInventoryFolder ( IClientAPI remoteClient, UUID folderID, UUID parentID ) : void |
Move the inventory folder to another place in the user's inventory
|
|
HandlePurgeInventoryDescendents ( IClientAPI remoteClient, UUID folderID ) : void |
This should delete all the items and folders in the given directory.
|
|
HandleUpdateInventoryFolder ( IClientAPI remoteClient, UUID folderID, ushort type, string name, UUID parentID ) : void |
Handle a client request to update the inventory folder
|
|
MoveInventoryItem ( IClientAPI remoteClient, List |
Move an item within the agent's inventory.
|
|
MoveTaskInventoryItemToUserInventory ( IClientAPI remoteClient, UUID folderId, ISceneChildEntity part, UUID itemId, bool checkPermissions ) : |
Move the given item in the given prim to a folder in the client's inventory
|
|
RemoveInventoryFolder ( IClientAPI remoteClient, List |
Removes an inventory folder. This packet is sent when the user right-clicks a folder that's already in trash and chooses "purge"
|
|
RemoveInventoryItem ( IClientAPI remoteClient, List |
Remove an inventory item for the client's inventory
|
|
RemoveTaskInventory ( IClientAPI remoteClient, UUID itemID, uint localID ) : void |
Remove an item from a prim (task) inventory
|
|
RequestTaskInventory ( IClientAPI remoteClient, uint primLocalID ) : void |
Send the details of a prim's inventory to the client.
|
|
RezScript ( IClientAPI remoteClient, |
Rez a script into a prim's inventory, either ex nihilo or from an existing avatar inventory
|
|
SendInventoryAsync ( IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder ) : void | ||
SendInventoryComplete ( IAsyncResult iar ) : void | ||
SendInventoryUpdate ( IClientAPI client, |
Send an update to the client about the given folder
|
|
UpdateInventoryItemAsset ( IClientAPI remoteClient, UUID transactionID, UUID itemID, |
Update an item which is either already in the client's inventory or is within a transaction
|
|
UpdateTaskInventory ( IClientAPI remoteClient, UUID transactionID, |
Update an item in a prim (task) inventory. This method does not handle scripts,
|
Метод | Описание | |
---|---|---|
BuildLandmark ( IScenePresence presence ) : byte[] | ||
CreateAgentInventoryItemFromTask ( UUID destAgent, ISceneChildEntity part, UUID itemId ) : |
Change a task inventory item to a user inventory item
|
|
EventManagerOnRegisterCaps ( UUID agentID, IHttpServer server ) : OSDMap |
Register the Caps for inventory
|
public AddInventoryItem ( |
||
item | The item to add | |
Результат | void |
public AddInventoryItemAsync ( IClientAPI remoteClient, |
||
remoteClient | IClientAPI | The remote client controlling the avatar |
item | /// The item. This structure contains all the item metadata, including the folder /// in which the item is to be placed. /// | |
Результат | void |
public AddInventoryItemAsync ( |
||
item | The item to add | |
Результат | void |
protected ChangeInventoryItemFlags ( IClientAPI remoteClient, UUID itemID, uint flags ) : void | ||
remoteClient | IClientAPI | |
itemID | UUID | |
flags | uint | |
Результат | void |
protected ClientMoveTaskInventoryItemToUserInventory ( IClientAPI remoteClient, UUID folderId, uint primLocalId, UUID itemId ) : void | ||
remoteClient | IClientAPI | The client that requested the change |
folderId | UUID | The folderID that the task (object) item will be moved into |
primLocalId | uint | The localID of the prim the item is in |
itemId | UUID | The UUID of the item to move |
Результат | void |
protected CopyInventoryItem ( IClientAPI remoteClient, uint callbackID, UUID oldAgentID, UUID oldItemID, UUID newFolderID, string newName ) : void | ||
remoteClient | IClientAPI | |
callbackID | uint | |
oldAgentID | UUID | |
oldItemID | UUID | |
newFolderID | UUID | |
newName | string | |
Результат | void |
protected CreateNewInventoryItem ( IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte assetType, byte wearableType, uint nextOwnerMask, int creationDate ) : void | ||
remoteClient | IClientAPI | |
transactionID | UUID | |
folderID | UUID | |
callbackID | uint | |
description | string | |
name | string | |
invType | sbyte | |
assetType | sbyte | |
wearableType | byte | |
nextOwnerMask | uint | |
creationDate | int | |
Результат | void |
protected CreateNewInventoryItem ( IClientAPI remoteClient, string creatorID, string creatorData, UUID folderID, string name, uint flags, uint callbackID, |
||
remoteClient | IClientAPI | |
creatorID | string | |
creatorData | string | |
folderID | UUID | |
name | string | |
flags | uint | |
callbackID | uint | |
asset | ||
invType | sbyte | |
baseMask | uint | |
currentMask | uint | |
everyoneMask | uint | |
nextOwnerMask | uint | |
groupMask | uint | |
creationDate | int | |
Результат | void |
protected DeRezObjects ( IClientAPI remoteClient, List |
||
remoteClient | IClientAPI | The client requesting the change (can be null if returning objects) |
localIDs | List |
A list of all the localIDs of the groups to delete |
groupID | UUID | the GroupID of the objects |
action | DeRezAction | What type of action is causing this |
destinationID | UUID | The folder ID to put the inventory items in |
Результат | void |
protected EventManager_OnClosingClient ( IClientAPI client ) : void | ||
client | IClientAPI | |
Результат | void |
protected EventManager_OnNewClient ( IClientAPI client ) : void | ||
client | IClientAPI | |
Результат | void |
protected HandleCreateInventoryFolder ( IClientAPI remoteClient, UUID folderID, ushort folderType, string folderName, UUID parentID ) : void | ||
remoteClient | IClientAPI | |
folderID | UUID | |
folderType | ushort | |
folderName | string | |
parentID | UUID | |
Результат | void |
protected HandleFetchInventory ( IClientAPI remoteClient, UUID itemID, UUID ownerID ) : void | ||
remoteClient | IClientAPI | |
itemID | UUID | |
ownerID | UUID | |
Результат | void |
protected HandleFetchInventoryDescendents ( IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder ) : void | ||
remoteClient | IClientAPI | |
folderID | UUID | |
ownerID | UUID | |
fetchFolders | bool | |
fetchItems | bool | |
sortOrder | int | |
Результат | void |
protected HandleLinkInventoryItem ( IClientAPI remoteClient, UUID transActionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, UUID olditemID ) : void | ||
remoteClient | IClientAPI | |
transActionID | UUID | |
folderID | UUID | |
callbackID | uint | |
description | string | |
name | string | |
invType | sbyte | |
type | sbyte | |
olditemID | UUID | |
Результат | void |
protected HandleMoveInventoryFolder ( IClientAPI remoteClient, UUID folderID, UUID parentID ) : void | ||
remoteClient | IClientAPI | The client that requested the change |
folderID | UUID | The folder UUID to move |
parentID | UUID | The folder to move the folder (folderID) into |
Результат | void |
protected HandlePurgeInventoryDescendents ( IClientAPI remoteClient, UUID folderID ) : void | ||
remoteClient | IClientAPI | |
folderID | UUID | |
Результат | void |
protected HandleUpdateInventoryFolder ( IClientAPI remoteClient, UUID folderID, ushort type, string name, UUID parentID ) : void | ||
remoteClient | IClientAPI | |
folderID | UUID | |
type | ushort | |
name | string | |
parentID | UUID | |
Результат | void |
public Initialize ( IConfigSource source ) : void | ||
source | IConfigSource | |
Результат | void |
protected MoveInventoryItem ( IClientAPI remoteClient, List |
||
remoteClient | IClientAPI | |
items | List |
|
Результат | void |
public MoveTaskInventoryItemToObject ( UUID destId, ISceneChildEntity part, UUID itemId ) : void | ||
destId | UUID | |
part | ISceneChildEntity | |
itemId | UUID | |
Результат | void |
protected MoveTaskInventoryItemToUserInventory ( IClientAPI remoteClient, UUID folderId, ISceneChildEntity part, UUID itemId, bool checkPermissions ) : |
||
remoteClient | IClientAPI | |
folderId | UUID | |
part | ISceneChildEntity | |
itemId | UUID | |
checkPermissions | bool | |
Результат |
public MoveTaskInventoryItemToUserInventory ( UUID avatarId, UUID folderId, ISceneChildEntity part, UUID itemId, bool checkPermissions ) : |
||
avatarId | UUID | |
folderId | UUID | /// The user inventory folder to move (or copy) the item to. If null, then the most /// suitable system folder is used (e.g. the Objects folder for objects). If there is no suitable folder, then /// the item is placed in the user's root inventory folder /// |
part | ISceneChildEntity | |
itemId | UUID | |
checkPermissions | bool | |
Результат |
public MoveTaskInventoryItemsToUserInventory ( UUID destID, string name, ISceneChildEntity host, List |
||
destID | UUID | |
name | string | |
host | ISceneChildEntity | |
items | List |
|
Результат | UUID |
public NoteCardAgentInventory ( UUID agentID, string path, Stream request, |
||
agentID | UUID | |
path | string | |
request | Stream | |
httpRequest | ||
httpResponse | ||
Результат | byte[] |
public RegionLoaded ( IScene scene ) : void | ||
scene | IScene | |
Результат | void |
protected RemoveInventoryFolder ( IClientAPI remoteClient, List |
||
remoteClient | IClientAPI | |
folderIDs | List |
|
Результат | void |
protected RemoveInventoryItem ( IClientAPI remoteClient, List |
||
remoteClient | IClientAPI | |
itemIDs | List |
|
Результат | void |
public RemoveRegion ( IScene scene ) : void | ||
scene | IScene | |
Результат | void |
protected RemoveTaskInventory ( IClientAPI remoteClient, UUID itemID, uint localID ) : void | ||
remoteClient | IClientAPI | /// Unused at the moment but retained since the avatar ID might /// be necessary for a permissions check at some stage. /// |
itemID | UUID | |
localID | uint | |
Результат | void |
protected RequestTaskInventory ( IClientAPI remoteClient, uint primLocalID ) : void | ||
remoteClient | IClientAPI | |
primLocalID | uint | |
Результат | void |
public ReturnObjects ( ISceneEntity returnobjects, UUID agentId ) : bool | ||
returnobjects | ISceneEntity | The objects to return |
agentId | UUID | The agent UUID that will get the inventory items for these objects |
Результат | bool |
protected RezScript ( IClientAPI remoteClient, |
||
remoteClient | IClientAPI | |
itemBase | ||
transactionID | UUID | |
localID | uint | |
Результат | void |
public RezScript ( UUID srcId, ISceneChildEntity srcPart, UUID destId, int pin, int running, int startParam ) : void | ||
srcId | UUID | The UUID of the script that is going to be copied |
srcPart | ISceneChildEntity | The prim that the script that is going to be copied from |
destId | UUID | The UUID of the prim that the |
pin | int | The ScriptAccessPin of the prim |
running | int | Whether the script should be running when it is started |
startParam | int | The start param to pass to the script |
Результат | void |
public ScriptTaskInventory ( UUID AgentID, string path, Stream request, |
||
AgentID | UUID | |
path | string | |
request | Stream | |
httpRequest | HTTP request header object | |
httpResponse | HTTP response header object | |
Результат | byte[] |
protected SendInventoryAsync ( IClientAPI remoteClient, UUID folderID, UUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder ) : void | ||
remoteClient | IClientAPI | |
folderID | UUID | |
ownerID | UUID | |
fetchFolders | bool | |
fetchItems | bool | |
sortOrder | int | |
Результат | void |
protected SendInventoryComplete ( IAsyncResult iar ) : void | ||
iar | IAsyncResult | |
Результат | void |
protected SendInventoryUpdate ( IClientAPI client, |
||
client | IClientAPI | The client to send the update to |
folder | The folder that we need to send | |
fetchFolders | bool | Should we fetch folders inside of this folder |
fetchItems | bool | Should we fetch items inside of this folder |
Результат | void |
public TaskInventoryUpdaterHandle ( UUID AgentID, string path, Stream request, |
||
AgentID | UUID | |
path | string | |
request | Stream | |
httpRequest | HTTP request header object | |
httpResponse | HTTP response header object | |
Результат | byte[] |
protected UpdateInventoryItemAsset ( IClientAPI remoteClient, UUID transactionID, UUID itemID, |
||
remoteClient | IClientAPI | |
transactionID | UUID | /// The transaction ID. If this is UUID.Zero we will /// assume that we are not in a transaction /// |
itemID | UUID | The ID of the updated item |
itemUpd | ||
Результат | void |
protected UpdateTaskInventory ( IClientAPI remoteClient, UUID transactionID, |
||
remoteClient | IClientAPI | |
transactionID | UUID | |
itemInfo | ||
primLocalID | uint | |
Результат | void |