OpenSim
|
Public Member Functions | |
virtual 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... | |
virtual void | PostInitialise () |
virtual 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... | |
virtual void | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
virtual 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... | |
virtual 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... | |
void | CreateNewInventoryItem (IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte assetType, byte wearableType, uint nextOwnerMask, int creationDate) |
Create a new inventory item. Called when the client creates a new item directly within their inventory (e.g. by selecting a context inventory menu option). More... | |
virtual UUID | CapsUpdateInventoryItemAsset (IClientAPI remoteClient, UUID itemID, byte[] data) |
Capability originating call to update the asset of an item in an agent's inventory More... | |
virtual bool | UpdateInventoryItemAsset (UUID ownerID, InventoryItemBase item, AssetBase asset) |
virtual List< InventoryItemBase > | CopyToInventory (DeRezAction action, UUID folderID, List< SceneObjectGroup > objectGroups, IClientAPI remoteClient, bool asAttachment) |
Copy objects to a user's inventory. More... | |
virtual SceneObjectGroup | RezObject (IClientAPI remoteClient, UUID itemID, Vector3 RayEnd, Vector3 RayStart, UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, bool RezSelected, bool RemoveItem, UUID fromTaskID, bool attachment) |
Rez an object into the scene from the user's inventory More... | |
virtual SceneObjectGroup | RezObject (IClientAPI remoteClient, InventoryItemBase item, UUID assetID, Vector3 RayEnd, Vector3 RayStart, UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, bool RezSelected, bool RemoveItem, UUID fromTaskID, bool attachment) |
Rez an object into the scene from the user's inventory More... | |
virtual void | TransferInventoryAssets (InventoryItemBase item, UUID sender, UUID receiver) |
virtual bool | CanGetAgentInventoryItem (IClientAPI remoteClient, UUID itemID, UUID requestID) |
Does the client have sufficient permissions to retrieve the inventory item? More... | |
virtual bool | IsForeignUser (UUID userID, out string assetServerURL) |
Protected Member Functions | |
virtual void | InitialiseCommon (IConfigSource source) |
Common module config for both this and descendant classes. More... | |
virtual void | OnNewClient (IClientAPI client) |
virtual string | GenerateLandmark (ScenePresence presence, out string prefix, out string suffix) |
InventoryItemBase | CopyBundleToInventory (DeRezAction action, UUID folderID, List< SceneObjectGroup > objlist, IClientAPI remoteClient, bool asAttachment) |
Copy a bundle of objects to inventory. If there is only one object, then this will create an object item. If there are multiple objects then these will be saved as a single coalesced item. More... | |
virtual void | ExportAsset (UUID agentID, UUID assetID) |
InventoryItemBase | AddPermissions (InventoryItemBase item, SceneObjectGroup so, List< SceneObjectGroup > objsForEffectivePermissions, IClientAPI remoteClient) |
Add relevant permissions for an object to the item. More... | |
InventoryItemBase | CreateItemForObject (DeRezAction action, IClientAPI remoteClient, SceneObjectGroup so, UUID folderID) |
Create an item using details for the given scene object. More... | |
void | AddUserData (SceneObjectGroup sog) |
virtual InventoryItemBase | GetItem (UUID agentID, UUID itemID) |
Protected Attributes | |
bool | m_Enabled = false |
Scene | m_Scene |
IUserManagement | m_UserManagement |
Properties | |
IUserManagement | UserManagementModule [get] |
bool | CoalesceMultipleObjectsToInventory [get, set] |
Type | ReplaceableInterface [get] |
virtual 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 55 of file InventoryAccessModule.cs.
|
inlineprotected |
Add relevant permissions for an object to the item.
item | |
so | |
objsForEffectivePermissions | |
remoteClient |
Definition at line 578 of file InventoryAccessModule.cs.
|
inlinevirtual |
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.
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 122 of file InventoryAccessModule.cs.
|
inlineprotected |
Definition at line 1191 of file InventoryAccessModule.cs.
|
inlinevirtual |
Does the client have sufficient permissions to retrieve the inventory item?
remoteClient | |
itemID | |
requestID |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Definition at line 1202 of file InventoryAccessModule.cs.
|
inlinevirtual |
Capability originating call to update the asset of an item in an agent's inventory
remoteClient | |
itemID | |
data |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 251 of file InventoryAccessModule.cs.
|
inlinevirtual |
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 138 of file InventoryAccessModule.cs.
|
inlineprotected |
Copy a bundle of objects to inventory. If there is only one object, then this will create an object item. If there are multiple objects then these will be saved as a single coalesced item.
action | |
folderID | |
objlist | |
remoteClient | |
asAttachment | Should be true if the bundle is being copied as an attachment. This prevents attempted serialization of any script state which would abort any operating scripts. |
Definition at line 398 of file InventoryAccessModule.cs.
|
inlinevirtual |
Copy objects to a user's inventory.
Is it left to the caller to delete them from the scene if required.
action | |
folderID | |
objectGroups | |
remoteClient | |
asAttachment | Should be true if the object(s) are begin taken as attachments. False otherwise. |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Definition at line 343 of file InventoryAccessModule.cs.
|
inlineprotected |
Create an item using details for the given scene object.
action | |
remoteClient | |
so | |
folderID |
Definition at line 654 of file InventoryAccessModule.cs.
|
inline |
Create a new inventory item. Called when the client creates a new item directly within their inventory (e.g. by selecting a context inventory menu option).
remoteClient | |
transactionID | |
folderID | |
callbackID | |
description | |
name | |
invType | |
type | |
wearableType | |
nextOwnerMask |
Definition at line 176 of file InventoryAccessModule.cs.
|
inlineprotectedvirtual |
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 565 of file InventoryAccessModule.cs.
|
inlineprotectedvirtual |
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 233 of file InventoryAccessModule.cs.
|
inlineprotectedvirtual |
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 1279 of file InventoryAccessModule.cs.
|
inlinevirtual |
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.
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 86 of file InventoryAccessModule.cs.
|
inlineprotectedvirtual |
Common module config for both this and descendant classes.
source |
Definition at line 107 of file InventoryAccessModule.cs.
|
inlinevirtual |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 1251 of file InventoryAccessModule.cs.
|
inlineprotectedvirtual |
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 133 of file InventoryAccessModule.cs.
|
inlinevirtual |
Definition at line 118 of file InventoryAccessModule.cs.
|
inlinevirtual |
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 152 of file InventoryAccessModule.cs.
|
inlinevirtual |
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 145 of file InventoryAccessModule.cs.
|
inlinevirtual |
Rez an object into the scene from the user's inventory
FIXME: It would be really nice if inventory access modules didn't also actually do the work of rezzing things to the scene. The caller should be doing that, I think.
remoteClient | |
itemID | |
RayEnd | |
RayStart | |
RayTargetID | |
BypassRayCast | |
RayEndIsIntersection | |
RezSelected | |
RemoveItem | |
fromTaskID | |
attachment |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 817 of file InventoryAccessModule.cs.
|
inlinevirtual |
Rez an object into the scene from the user's inventory
FIXME: It would be really nice if inventory access modules didn't also actually do the work of rezzing things to the scene. The caller should be doing that, I think.
remoteClient | |
item | The item from which the object asset came. Can be null, in which case pre and post rez item adjustment and checks are not performed. |
assetID | The asset id for the object to rez. |
RayEnd | |
RayStart | |
RayTargetID | |
BypassRayCast | |
RayEndIsIntersection | |
RezSelected | |
RemoveItem | |
fromTaskID | |
attachment |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Definition at line 839 of file InventoryAccessModule.cs.
|
inlinevirtual |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 1198 of file InventoryAccessModule.cs.
|
inlinevirtual |
Implements OpenSim.Region.Framework.Interfaces.IInventoryAccessModule.
Reimplemented in OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule.
Definition at line 316 of file InventoryAccessModule.cs.
|
protected |
Definition at line 59 of file InventoryAccessModule.cs.
|
protected |
Definition at line 60 of file InventoryAccessModule.cs.
|
protected |
Definition at line 61 of file InventoryAccessModule.cs.
|
getset |
Definition at line 72 of file InventoryAccessModule.cs.
|
get |
Definition at line 82 of file InventoryAccessModule.cs.
|
get |
Definition at line 77 of file InventoryAccessModule.cs.
|
getprotected |
Definition at line 63 of file InventoryAccessModule.cs.