C# 클래스 WhiteCore.Services.SQLServices.InventoryService.InventoryService

상속: WhiteCore.Framework.Services.ConnectorBase, IInventoryService, IService
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

보호된 프로퍼티들

프로퍼티 타입 설명
_addInventoryItemQueue ListCombiningTimedSaving
_moveInventoryItemQueue ListCombiningTimedSaving
_tempItemCache InventoryItemBase>.Dictionary
m_AllowDelete bool
m_AssetService IAssetService
m_Database IInventoryData
m_LibraryService ILibraryService
m_UserAccountService IUserAccountService

공개 메소드들

메소드 설명
AddCacheItemAsync ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : void
AddItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item, bool doParentFolderCheck ) : bool
AddItemAsync ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item, Action success ) : void
CreateUserInventory ( UUID principalID, bool createDefaultItems ) : bool
CreateUserInventory ( UUID principalID, bool createDefaultItems, List &defaultItems ) : bool
DeleteUserInformation ( string name, object param ) : object
FinishedStartup ( ) : void
FixInventory ( IScene scene, string cmd ) : void
FolderExists ( UUID folderID ) : bool
FolderItemExists ( UUID folderID, UUID itemID ) : bool
GetActiveGestures ( UUID principalID ) : List
GetFolderItems ( UUID principalID, UUID folderID ) : List
GetInventorySkeleton ( UUID principalID ) : List
GetOSDItem ( UUID avatarID, UUID itemID ) : OSDArray
GetRootFolders ( UUID principalID ) : List
GetUserFolderID ( UUID principalID, string folderName ) : List
GiveInventoryFolderAsync ( UUID recipientId, UUID senderId, UUID folderId, UUID recipientParentFolderId, GiveFolderParam success ) : void

Give an entire inventory folder from one user to another. The entire contents (including all descendent folders) is given.

GiveInventoryItemAsync ( UUID recipient, UUID senderId, UUID itemId, UUID recipientFolderId, bool doOwnerCheck, GiveItemParam success ) : void

Give an inventory item from one user to another

Initialize ( IConfigSource config, IRegistryCore registry ) : void
InnerGiveInventoryItem ( UUID recipient, UUID senderId, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item, UUID recipientFolderId, bool doOwnerCheck, bool checkTransferPermission ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
ItemExists ( UUID itemID ) : bool
MoveItemsAsync ( UUID agentID, List items, NoParam success ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

보호된 메소드들

메소드 설명
CreateFolder ( UUID principalID, UUID parentID, int type, string name ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
GetSystemFolders ( UUID principalID ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase[]
VerifyRootFolders ( IScene scene, string cmd ) : void

비공개 메소드들

메소드 설명
AddFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : bool
AddItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : bool
DeleteFolders ( UUID principalID, List folderIDs ) : bool
DeleteItems ( UUID principalID, List itemIDs ) : bool
ForcePurgeFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : bool
GetFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
GetFolderByOwnerAndName ( UUID folderOwner, string folderName ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
GetFolderContent ( UUID userID, UUID folderID ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryCollection
GetFolderFolders ( UUID principalID, UUID folderID ) : List
GetFolderForType ( UUID principalID, InventoryType invType, FolderType type ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
GetItem ( UUID userID, UUID inventoryID ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
GetItemAssetID ( UUID userID, UUID inventoryID ) : UUID
GetRootFolder ( UUID principalID ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
MoveFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : bool
MoveItems ( UUID principalID, List items ) : bool
ParentIsLinkFolder ( UUID folderID ) : bool
ParentIsTrash ( UUID folderID ) : bool
PurgeFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : bool
UpdateAssetIDForItem ( UUID itemID, UUID assetID ) : bool
UpdateFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : bool
UpdateItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : bool

메소드 상세

AddCacheItemAsync() 공개 메소드

public AddCacheItemAsync ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : void
item WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
리턴 void

AddItem() 공개 메소드

public AddItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item, bool doParentFolderCheck ) : bool
item WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
doParentFolderCheck bool
리턴 bool

AddItemAsync() 공개 메소드

public AddItemAsync ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item, Action success ) : void
item WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
success Action
리턴 void

CreateFolder() 보호된 메소드

protected CreateFolder ( UUID principalID, UUID parentID, int type, string name ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
principalID UUID
parentID UUID
type int
name string
리턴 WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase

CreateUserInventory() 공개 메소드

public CreateUserInventory ( UUID principalID, bool createDefaultItems ) : bool
principalID UUID
createDefaultItems bool
리턴 bool

CreateUserInventory() 공개 메소드

public CreateUserInventory ( UUID principalID, bool createDefaultItems, List &defaultItems ) : bool
principalID UUID
createDefaultItems bool
defaultItems List
리턴 bool

DeleteUserInformation() 공개 메소드

public DeleteUserInformation ( string name, object param ) : object
name string
param object
리턴 object

FinishedStartup() 공개 메소드

public FinishedStartup ( ) : void
리턴 void

FixInventory() 공개 메소드

public FixInventory ( IScene scene, string cmd ) : void
scene IScene
cmd string
리턴 void

FolderExists() 공개 메소드

public FolderExists ( UUID folderID ) : bool
folderID UUID
리턴 bool

FolderItemExists() 공개 메소드

public FolderItemExists ( UUID folderID, UUID itemID ) : bool
folderID UUID
itemID UUID
리턴 bool

GetActiveGestures() 공개 메소드

public GetActiveGestures ( UUID principalID ) : List
principalID UUID
리턴 List

GetFolderItems() 공개 메소드

public GetFolderItems ( UUID principalID, UUID folderID ) : List
principalID UUID
folderID UUID
리턴 List

GetInventorySkeleton() 공개 메소드

public GetInventorySkeleton ( UUID principalID ) : List
principalID UUID
리턴 List

GetOSDItem() 공개 메소드

public GetOSDItem ( UUID avatarID, UUID itemID ) : OSDArray
avatarID UUID
itemID UUID
리턴 OSDArray

GetRootFolders() 공개 메소드

public GetRootFolders ( UUID principalID ) : List
principalID UUID
리턴 List

GetSystemFolders() 보호된 메소드

protected GetSystemFolders ( UUID principalID ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase[]
principalID UUID
리턴 WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase[]

GetUserFolderID() 공개 메소드

public GetUserFolderID ( UUID principalID, string folderName ) : List
principalID UUID
folderName string
리턴 List

GiveInventoryFolderAsync() 공개 메소드

Give an entire inventory folder from one user to another. The entire contents (including all descendent folders) is given.
public GiveInventoryFolderAsync ( UUID recipientId, UUID senderId, UUID folderId, UUID recipientParentFolderId, GiveFolderParam success ) : void
recipientId UUID
senderId UUID ID of the sender of the item
folderId UUID
recipientParentFolderId UUID /// The id of the recipient folder in which the send folder should be placed. If UUID.Zero then the /// recipient folder is the root folder ///
success GiveFolderParam
리턴 void

GiveInventoryItemAsync() 공개 메소드

Give an inventory item from one user to another
public GiveInventoryItemAsync ( UUID recipient, UUID senderId, UUID itemId, UUID recipientFolderId, bool doOwnerCheck, GiveItemParam success ) : void
recipient UUID
senderId UUID ID of the sender of the item
itemId UUID
recipientFolderId UUID /// The id of the folder in which the copy item should go. If UUID.Zero then the item is placed in the most /// appropriate default folder. ///
doOwnerCheck bool This is for when the item is being given away publically, such as when it is posted on a group notice
success GiveItemParam
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

InnerGiveInventoryItem() 공개 메소드

public InnerGiveInventoryItem ( UUID recipient, UUID senderId, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item, UUID recipientFolderId, bool doOwnerCheck, bool checkTransferPermission ) : WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
recipient UUID
senderId UUID
item WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
recipientFolderId UUID
doOwnerCheck bool
checkTransferPermission bool
리턴 WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase

ItemExists() 공개 메소드

public ItemExists ( UUID itemID ) : bool
itemID UUID
리턴 bool

MoveItemsAsync() 공개 메소드

public MoveItemsAsync ( UUID agentID, List items, NoParam success ) : void
agentID UUID
items List
success NoParam
리턴 void

Start() 공개 메소드

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

VerifyRootFolders() 보호된 메소드

protected VerifyRootFolders ( IScene scene, string cmd ) : void
scene IScene
cmd string
리턴 void

프로퍼티 상세

_addInventoryItemQueue 보호되어 있는 프로퍼티

protected ListCombiningTimedSaving _addInventoryItemQueue
리턴 ListCombiningTimedSaving

_moveInventoryItemQueue 보호되어 있는 프로퍼티

protected ListCombiningTimedSaving _moveInventoryItemQueue
리턴 ListCombiningTimedSaving

_tempItemCache 보호되어 있는 프로퍼티

protected Dictionary _tempItemCache
리턴 InventoryItemBase>.Dictionary

m_AllowDelete 보호되어 있는 프로퍼티

protected bool m_AllowDelete
리턴 bool

m_AssetService 보호되어 있는 프로퍼티

protected IAssetService m_AssetService
리턴 IAssetService

m_Database 보호되어 있는 프로퍼티

protected IInventoryData m_Database
리턴 IInventoryData

m_LibraryService 보호되어 있는 프로퍼티

protected ILibraryService m_LibraryService
리턴 ILibraryService

m_UserAccountService 보호되어 있는 프로퍼티

protected IUserAccountService m_UserAccountService
리턴 IUserAccountService