C# Class Universe.Modules.InventoryAccess.BasicInventoryAccessModule

Inheritance: INonSharedRegionModule, IInventoryAccessModule
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_Enabled bool
m_LLCLientInventoryModule ILLClientInventory
m_scene IScene

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

AddRegion() public méthode

public AddRegion ( IScene scene ) : void
scene IScene
Résultat void

CapsUpdateInventoryItemAsset() public méthode

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
Résultat string

ClientRezObject() protected méthode

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
Résultat void

ClientRezRestoreToWorld() protected méthode

protected ClientRezRestoreToWorld ( IClientAPI remoteClient, UUID itemID, UUID groupID ) : void
remoteClient IClientAPI
itemID UUID
groupID UUID
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CreateObjectFromInventory() public méthode

public CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, InventoryItemBase &item ) : ISceneEntity
remoteClient IClientAPI
itemID UUID
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
Résultat ISceneEntity

CreateObjectFromInventory() public méthode

public CreateObjectFromInventory ( IClientAPI remoteClient, UUID itemID, UUID assetID, InventoryItemBase item ) : ISceneEntity
remoteClient IClientAPI
itemID UUID
assetID UUID
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
Résultat ISceneEntity

CreateObjectFromInventory() protected méthode

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
Résultat ISceneEntity

CreateObjectFromInventory() protected méthode

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
Résultat ISceneEntity

DeleteToInventory() public méthode

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
Résultat UUID

GetAgentInventoryItem() public méthode

public GetAgentInventoryItem ( IClientAPI remoteClient, UUID itemID, UUID requestID ) : bool
remoteClient IClientAPI
itemID UUID
requestID UUID
Résultat bool

GetItem() protected méthode

protected GetItem ( UUID agentID, UUID itemID ) : InventoryItemBase
agentID UUID
itemID UUID
Résultat Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase

Initialize() public méthode

public Initialize ( IConfigSource source ) : void
source IConfigSource
Résultat void

IsForeignUser() public méthode

public IsForeignUser ( UUID userID, string &assetServerURL ) : bool
userID UUID
assetServerURL string
Résultat bool

OnClosingClient() public méthode

public OnClosingClient ( IClientAPI client ) : void
client IClientAPI
Résultat void

OnNewClient() public méthode

public OnNewClient ( IClientAPI client ) : void
client IClientAPI
Résultat void

PostInitialize() public méthode

public PostInitialize ( ) : void
Résultat void

RegionLoaded() public méthode

public RegionLoaded ( IScene scene ) : void
scene IScene
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( IScene scene ) : void
scene IScene
Résultat void

RezObject() public méthode

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
Résultat ISceneEntity

RezRestoreToWorld() public méthode

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.
Résultat bool

SaveAsAsset() public méthode

public SaveAsAsset ( List objectGroups, AssetBase &asset ) : UUID
objectGroups List
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
Résultat UUID

Property Details

m_Enabled protected_oe property

protected bool m_Enabled
Résultat bool

m_LLCLientInventoryModule protected_oe property

protected ILLClientInventory m_LLCLientInventoryModule
Résultat ILLClientInventory

m_scene protected_oe property

protected IScene m_scene
Résultat IScene