C# 클래스 Universe.Modules.InventoryAccess.BasicInventoryAccessModule

상속: INonSharedRegionModule, IInventoryAccessModule
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

보호된 프로퍼티들

프로퍼티 타입 설명
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