C# Класс Universe.Modules.InventoryAccess.BasicInventoryAccessModule

Наследование: INonSharedRegionModule, IInventoryAccessModule
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_Enabled bool
m_LLCLientInventoryModule ILLClientInventory
m_scene IScene

Открытые методы

Метод Описание
AddRegion ( IScene scene ) : void
CapsUpdateInventoryItemAsset ( IClientAPI remoteClient, UUID itemID, byte data ) : string

Capability originating call to update the asset of an item in an agent's inventory

Close ( ) : void
CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, InventoryItemBase &item ) : ISceneEntity
CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, UUID assetID, InventoryItemBase item ) : ISceneEntity
DeleteToInventory ( DeRezAction action, UUID folderID, List objectGroups, UUID agentId, UUID &itemID ) : UUID

Delete a scene object from a scene and place in the given avatar's inventory. Returns the UUID of the newly created asset.

GetAgentInventoryItem ( IClientAPI remoteClient, UUID itemID, UUID requestID ) : bool
Initialize ( IConfigSource source ) : void
IsForeignUser ( UUID userID, string &assetServerURL ) : bool
OnClosingClient ( IClientAPI client ) : void
OnNewClient ( IClientAPI client ) : void
PostInitialize ( ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
RezObject ( IClientAPI remoteClient, UUID itemID, System.Vector3 rayEnd, System.Vector3 rayStart, UUID rayTargetID, byte bypassRayCast, bool rayEndIsIntersection, bool rezSelected, bool removeItem, UUID fromTaskID ) : ISceneEntity

Rez an object into the scene from the user's inventory

RezRestoreToWorld ( IClientAPI remoteClient, UUID itemID, InventoryItemBase item, UUID groupID ) : bool

Restores an object in world.

SaveAsAsset ( List objectGroups, AssetBase &asset ) : UUID

Защищенные методы

Метод Описание
ClientRezObject ( IClientAPI remoteClient, UUID itemID, System.Vector3 rayEnd, System.Vector3 rayStart, UUID rayTargetID, byte bypassRayCast, bool rayEndIsIntersection, bool rezSelected, bool removeItem, UUID fromTaskID ) : void

The only difference between this and the other RezObject method is the return value... The client needs this method

ClientRezRestoreToWorld ( IClientAPI remoteClient, UUID itemID, UUID groupID ) : void
CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, UUID assetID, XmlDocument &doc, InventoryItemBase item ) : ISceneEntity
CreateObjectFromInventory ( InventoryItemBase item, IClientAPI remoteClient, UUID itemID, XmlDocument &doc ) : ISceneEntity
GetItem ( UUID agentID, UUID itemID ) : InventoryItemBase

Приватные методы

Метод Описание
CreateAsset ( string name, string description, sbyte assetType, byte data, string creatorID ) : AssetBase

Create a new asset data structure.

FailedCompileScriptCAPSUpdate ( UUID assetID, UUID inv, string error ) : string
FailedPermissionsNotecardCAPSUpdate ( UUID assetID, UUID inv ) : string
FailedPermissionsScriptCAPSUpdate ( UUID assetID, UUID inv ) : string
RezMultipleObjectsFromInventory ( XmlNodeList nodes, UUID itemId, IClientAPI remoteClient, System.Vector3 pos, bool rezSelected, InventoryItemBase item, UUID rayTargetID, byte BypassRayCast, bool rayEndIsIntersection, System.Vector3 rayEnd, System.Vector3 rayStart, byte bRayEndIsIntersection ) : List
SuccessNotecardCAPSUpdate ( UUID assetID, UUID inv ) : string
SuccessScriptCAPSUpdate ( UUID assetID, UUID inv ) : string

Описание методов

AddRegion() публичный Метод

public AddRegion ( IScene scene ) : void
scene IScene
Результат void

CapsUpdateInventoryItemAsset() публичный Метод

Capability originating call to update the asset of an item in an agent's inventory
public CapsUpdateInventoryItemAsset ( IClientAPI remoteClient, UUID itemID, byte data ) : string
remoteClient IClientAPI
itemID UUID
data byte
Результат string

ClientRezObject() защищенный Метод

The only difference between this and the other RezObject method is the return value... The client needs this method
protected ClientRezObject ( IClientAPI remoteClient, UUID itemID, System.Vector3 rayEnd, System.Vector3 rayStart, UUID rayTargetID, byte bypassRayCast, bool rayEndIsIntersection, bool rezSelected, bool removeItem, UUID fromTaskID ) : void
remoteClient IClientAPI
itemID UUID
rayEnd System.Vector3
rayStart System.Vector3
rayTargetID UUID
bypassRayCast byte
rayEndIsIntersection bool
rezSelected bool
removeItem bool
fromTaskID UUID
Результат void

ClientRezRestoreToWorld() защищенный Метод

protected ClientRezRestoreToWorld ( IClientAPI remoteClient, UUID itemID, UUID groupID ) : void
remoteClient IClientAPI
itemID UUID
groupID UUID
Результат void

Close() публичный Метод

public Close ( ) : void
Результат void

CreateObjectFromInventory() публичный Метод

public CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, InventoryItemBase &item ) : ISceneEntity
remoteClient IClientAPI
itemID UUID
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
Результат ISceneEntity

CreateObjectFromInventory() публичный Метод

public CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, UUID assetID, InventoryItemBase item ) : ISceneEntity
remoteClient IClientAPI
itemID UUID
assetID UUID
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
Результат ISceneEntity

CreateObjectFromInventory() защищенный Метод

protected CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, UUID assetID, XmlDocument &doc, InventoryItemBase item ) : ISceneEntity
remoteClient IClientAPI
itemID UUID
assetID UUID
doc System.Xml.XmlDocument
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
Результат ISceneEntity

CreateObjectFromInventory() защищенный Метод

protected CreateObjectFromInventory ( InventoryItemBase item, IClientAPI remoteClient, UUID itemID, XmlDocument &doc ) : ISceneEntity
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
remoteClient IClientAPI
itemID UUID
doc System.Xml.XmlDocument
Результат ISceneEntity

DeleteToInventory() публичный Метод

Delete a scene object from a scene and place in the given avatar's inventory. Returns the UUID of the newly created asset.
public DeleteToInventory ( DeRezAction action, UUID folderID, List objectGroups, UUID agentId, UUID &itemID ) : UUID
action DeRezAction
folderID UUID
objectGroups List
agentId UUID
itemID UUID
Результат UUID

GetAgentInventoryItem() публичный Метод

public GetAgentInventoryItem ( IClientAPI remoteClient, UUID itemID, UUID requestID ) : bool
remoteClient IClientAPI
itemID UUID
requestID UUID
Результат bool

GetItem() защищенный Метод

protected GetItem ( UUID agentID, UUID itemID ) : InventoryItemBase
agentID UUID
itemID UUID
Результат Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase

Initialize() публичный Метод

public Initialize ( IConfigSource source ) : void
source IConfigSource
Результат void

IsForeignUser() публичный Метод

public IsForeignUser ( UUID userID, string &assetServerURL ) : bool
userID UUID
assetServerURL string
Результат bool

OnClosingClient() публичный Метод

public OnClosingClient ( IClientAPI client ) : void
client IClientAPI
Результат void

OnNewClient() публичный Метод

public OnNewClient ( IClientAPI client ) : void
client IClientAPI
Результат void

PostInitialize() публичный Метод

public PostInitialize ( ) : void
Результат void

RegionLoaded() публичный Метод

public RegionLoaded ( IScene scene ) : void
scene IScene
Результат void

RemoveRegion() публичный Метод

public RemoveRegion ( IScene scene ) : void
scene IScene
Результат void

RezObject() публичный Метод

Rez an object into the scene from the user's inventory
public RezObject ( IClientAPI remoteClient, UUID itemID, System.Vector3 rayEnd, System.Vector3 rayStart, UUID rayTargetID, byte bypassRayCast, bool rayEndIsIntersection, bool rezSelected, bool removeItem, UUID fromTaskID ) : ISceneEntity
remoteClient IClientAPI
itemID UUID
rayEnd System.Vector3
rayStart System.Vector3
rayTargetID UUID
bypassRayCast byte
rayEndIsIntersection bool
rezSelected bool
removeItem bool
fromTaskID UUID
Результат ISceneEntity

RezRestoreToWorld() публичный Метод

Restores an object in world.
public RezRestoreToWorld ( IClientAPI remoteClient, UUID itemID, InventoryItemBase item, UUID groupID ) : bool
remoteClient IClientAPI Remote client.
itemID UUID Item I.
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase Item.
groupID UUID Group I.
Результат bool

SaveAsAsset() публичный Метод

public SaveAsAsset ( List objectGroups, AssetBase &asset ) : UUID
objectGroups List
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
Результат UUID

Описание свойств

m_Enabled защищенное свойство

protected bool m_Enabled
Результат bool

m_LLCLientInventoryModule защищенное свойство

protected ILLClientInventory m_LLCLientInventoryModule
Результат ILLClientInventory

m_scene защищенное свойство

protected IScene m_scene
Результат IScene