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
Afficher le fichier Open project: RevolutionSmythe/Aurora-HG-Plugin

Méthodes publiques

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

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

Method Details

AddItem() public méthode

public AddItem ( Aurora.Framework.InventoryItemBase item ) : bool
item Aurora.Framework.InventoryItemBase
Résultat bool

CreateUserInventory() public méthode

public CreateUserInventory ( UUID principalID, bool createDefaultItems ) : bool
principalID UUID
createDefaultItems bool
Résultat bool

DeleteFolders() public méthode

public DeleteFolders ( UUID principalID, List folderIDs ) : bool
principalID UUID
folderIDs List
Résultat bool

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

GetFolderForType() public méthode

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

GetInventorySkeleton() public méthode

public GetInventorySkeleton ( UUID principalID ) : List
principalID UUID
Résultat List

GetItem() public méthode

public GetItem ( Aurora.Framework.InventoryItemBase item ) : Aurora.Framework.InventoryItemBase
item Aurora.Framework.InventoryItemBase
Résultat Aurora.Framework.InventoryItemBase

GetRootFolder() public méthode

public GetRootFolder ( UUID principalID ) : Aurora.Framework.InventoryFolderBase
principalID UUID
Résultat Aurora.Framework.InventoryFolderBase

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

PurgeFolder() public méthode

public PurgeFolder ( Aurora.Framework.InventoryFolderBase folder ) : bool
folder Aurora.Framework.InventoryFolderBase
Résultat bool