C# Class Aurora.Addon.HyperGrid.HGInventoryService

Hypergrid inventory service. It serves the IInventoryService interface, but implements it in ways that are appropriate for inter-grid inventory exchanges. Specifically, it does not performs deletions and it responds to GetRootFolder requests with the ID of the Suitcase folder, not the actual "My Inventory" folder.
Inheritance: OpenSim.Services.InventoryService.InventoryService, IExternalInventoryService
Mostrar archivo Open project: RevolutionSmythe/Aurora-HG-Plugin

Public Methods

Method Description
AddItem ( Aurora.Framework.InventoryItemBase item ) : bool
CreateUserInventory ( UUID principalID, bool createDefaultItems ) : bool
DeleteFolders ( UUID principalID, List folderIDs ) : bool
FinishedStartup ( ) : void
GetFolderForType ( UUID principalID, InventoryType invType, AssetType type ) : Aurora.Framework.InventoryFolderBase
GetInventorySkeleton ( UUID principalID ) : List
GetItem ( Aurora.Framework.InventoryItemBase item ) : Aurora.Framework.InventoryItemBase
GetRootFolder ( UUID principalID ) : Aurora.Framework.InventoryFolderBase
Initialize ( IConfigSource config, IRegistryCore registry ) : void
PurgeFolder ( Aurora.Framework.InventoryFolderBase folder ) : bool

Private Methods

Method Description
GetDescendents ( List lst, UUID root ) : List
GetFolderType ( UUID principalID, UUID parentID, AssetType type ) : Aurora.Framework.InventoryFolderBase

Method Details

AddItem() public method

public AddItem ( Aurora.Framework.InventoryItemBase item ) : bool
item Aurora.Framework.InventoryItemBase
return bool

CreateUserInventory() public method

public CreateUserInventory ( UUID principalID, bool createDefaultItems ) : bool
principalID UUID
createDefaultItems bool
return bool

DeleteFolders() public method

public DeleteFolders ( UUID principalID, List folderIDs ) : bool
principalID UUID
folderIDs List
return bool

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

GetFolderForType() public method

public GetFolderForType ( UUID principalID, InventoryType invType, AssetType type ) : Aurora.Framework.InventoryFolderBase
principalID UUID
invType InventoryType
type AssetType
return Aurora.Framework.InventoryFolderBase

GetInventorySkeleton() public method

public GetInventorySkeleton ( UUID principalID ) : List
principalID UUID
return List

GetItem() public method

public GetItem ( Aurora.Framework.InventoryItemBase item ) : Aurora.Framework.InventoryItemBase
item Aurora.Framework.InventoryItemBase
return Aurora.Framework.InventoryItemBase

GetRootFolder() public method

public GetRootFolder ( UUID principalID ) : Aurora.Framework.InventoryFolderBase
principalID UUID
return Aurora.Framework.InventoryFolderBase

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

PurgeFolder() public method

public PurgeFolder ( Aurora.Framework.InventoryFolderBase folder ) : bool
folder Aurora.Framework.InventoryFolderBase
return bool