OpenSim
|
Public Member Functions | |
void | Initialise (IConfigSource source) |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More... | |
void | PostInitialise () |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised. More... | |
void | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
void | AddRegion (Scene scene) |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More... | |
void | RemoveRegion (Scene scene) |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More... | |
void | RegionLoaded (Scene scene) |
This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module. More... | |
string | GetInventoryServiceURL (UUID userID) |
bool | CreateUserInventory (UUID userID) |
Create the entire inventory for a given user More... | |
List< InventoryFolderBase > | GetInventorySkeleton (UUID userID) |
Gets the skeleton of the inventory – folders only More... | |
InventoryFolderBase | GetRootFolder (UUID userID) |
Retrieve the root inventory folder for the given user. More... | |
InventoryFolderBase | GetFolderForType (UUID userID, FolderType type) |
Gets the user folder for the given folder-type More... | |
InventoryCollection | GetFolderContent (UUID userID, UUID folderID) |
Gets everything (folders and items) inside a folder More... | |
InventoryCollection[] | GetMultipleFoldersContent (UUID userID, UUID[] folderIDs) |
Gets everything (folders and items) inside a folder More... | |
List< InventoryItemBase > | GetFolderItems (UUID userID, UUID folderID) |
Gets the items inside a folder More... | |
bool | AddFolder (InventoryFolderBase folder) |
Add a new folder to the user's inventory More... | |
bool | UpdateFolder (InventoryFolderBase folder) |
Update a folder in the user's inventory More... | |
bool | DeleteFolders (UUID ownerID, List< UUID > folderIDs) |
Delete an item from the user's inventory More... | |
bool | MoveFolder (InventoryFolderBase folder) |
Move an inventory folder to a new location More... | |
bool | PurgeFolder (InventoryFolderBase folder) |
Purge an inventory folder of all its items and subfolders. More... | |
bool | AddItem (InventoryItemBase item) |
Add a new item to the user's inventory More... | |
bool | UpdateItem (InventoryItemBase item) |
Update an item in the user's inventory More... | |
bool | MoveItems (UUID ownerID, List< InventoryItemBase > items) |
bool | DeleteItems (UUID ownerID, List< UUID > itemIDs) |
Delete an item from the user's inventory More... | |
InventoryItemBase | GetItem (InventoryItemBase item) |
Get an item, given by its UUID More... | |
InventoryItemBase[] | GetMultipleItems (UUID userID, UUID[] itemIDs) |
Get multiple items, given by their UUIDs More... | |
InventoryFolderBase | GetFolder (InventoryFolderBase folder) |
Get a folder, given by its UUID More... | |
bool | HasInventoryForUser (UUID userID) |
Does the given user have an inventory structure? More... | |
List< InventoryItemBase > | GetActiveGestures (UUID userId) |
Get the active gestures of the agent. More... | |
int | GetAssetPermissions (UUID userID, UUID assetID) |
Get the union of permissions of all inventory items that hold the given assetID. More... | |
Protected Attributes | |
Dictionary< UUID, string > | m_InventoryURLs = new Dictionary<UUID,string>() |
IUserManagement | m_UserManagement |
Properties | |
IUserManagement | UserManagementModule [get] |
Type | ReplaceableInterface [get] |
string | Name [get] |
Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase | |
string | Name [get] |
Type | ReplaceableInterface [get] |
If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More... | |
Definition at line 47 of file HGInventoryBroker.cs.
|
inline |
Add a new folder to the user's inventory
folder |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 433 of file HGInventoryBroker.cs.
|
inline |
Add a new item to the user's inventory
item | The item to be added. If item.FolderID == UUID.Zero then the item is added to the most suitable system folder. If there is no suitable folder then the item is added to the user's root inventory folder. |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 525 of file HGInventoryBroker.cs.
|
inline |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 151 of file HGInventoryBroker.cs.
|
inline |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 147 of file HGInventoryBroker.cs.
|
inline |
Create the entire inventory for a given user
user |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 307 of file HGInventoryBroker.cs.
|
inline |
Delete an item from the user's inventory
item |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 469 of file HGInventoryBroker.cs.
|
inline |
Delete an item from the user's inventory
item |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 581 of file HGInventoryBroker.cs.
|
inline |
Get the active gestures of the agent.
userId |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 658 of file HGInventoryBroker.cs.
|
inline |
Get the union of permissions of all inventory items that hold the given assetID.
userID | |
assetID |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 663 of file HGInventoryBroker.cs.
|
inline |
Get a folder, given by its UUID
folder |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 635 of file HGInventoryBroker.cs.
|
inline |
Gets everything (folders and items) inside a folder
userId | |
folderID |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 370 of file HGInventoryBroker.cs.
|
inline |
Gets the user folder for the given folder-type
userID | |
type |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 348 of file HGInventoryBroker.cs.
|
inline |
Gets the items inside a folder
userID | |
folderID |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 411 of file HGInventoryBroker.cs.
|
inline |
Definition at line 290 of file HGInventoryBroker.cs.
|
inline |
Gets the skeleton of the inventory – folders only
userId |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 313 of file HGInventoryBroker.cs.
|
inline |
Get an item, given by its UUID
item |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 601 of file HGInventoryBroker.cs.
|
inline |
Gets everything (folders and items) inside a folder
userId | |
folderIDs |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 392 of file HGInventoryBroker.cs.
|
inline |
Get multiple items, given by their UUIDs
item |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 618 of file HGInventoryBroker.cs.
|
inline |
Retrieve the root inventory folder for the given user.
userID |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 326 of file HGInventoryBroker.cs.
|
inline |
Does the given user have an inventory structure?
userID |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 653 of file HGInventoryBroker.cs.
|
inline |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.
source | A IConfigSource |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 99 of file HGInventoryBroker.cs.
|
inline |
Move an inventory folder to a new location
folder | A folder containing the details of the new location |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 489 of file HGInventoryBroker.cs.
|
inline |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 561 of file HGInventoryBroker.cs.
|
inline |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised.
Implements OpenSim.Region.Framework.Interfaces.ISharedRegionModule.
Definition at line 143 of file HGInventoryBroker.cs.
|
inline |
Purge an inventory folder of all its items and subfolders.
folder |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 507 of file HGInventoryBroker.cs.
|
inline |
This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 193 of file HGInventoryBroker.cs.
|
inline |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 185 of file HGInventoryBroker.cs.
|
inline |
Update a folder in the user's inventory
folder |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 451 of file HGInventoryBroker.cs.
|
inline |
Update an item in the user's inventory
item |
Implements OpenSim.Services.Interfaces.IInventoryService.
Definition at line 543 of file HGInventoryBroker.cs.
|
protected |
Definition at line 59 of file HGInventoryBroker.cs.
|
protected |
Definition at line 70 of file HGInventoryBroker.cs.
|
get |
Definition at line 95 of file HGInventoryBroker.cs.
|
get |
Definition at line 90 of file HGInventoryBroker.cs.
|
getprotected |
Definition at line 72 of file HGInventoryBroker.cs.