|
void | Initialise (IConfigSource configSource) |
| 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 | 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...
|
|
void | Close () |
| This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More...
|
|
void | OnRegisterCaps (UUID agentID, Caps caps) |
|
void | OnDeregisterCaps (UUID agentID, Caps caps) |
|
MediaEntry | GetMediaEntry (SceneObjectPart part, int face) |
| Get the media entry for a given prim face. More...
|
|
void | SetMediaEntry (SceneObjectPart part, int face, MediaEntry me) |
| Set the media entry on the face of the given part. More...
|
|
void | ClearMediaEntry (SceneObjectPart part, int face) |
| Clear the media entry from the face of the given part. More...
|
|
|
void | OnSceneObjectPartCopy (SceneObjectPart copy, SceneObjectPart original, bool userExposed) |
|
void | SetPartMediaFlags (SceneObjectPart part, int face, bool flag) |
| Set the media flags on the texture face of the given part. More...
|
|
string | HandleObjectMediaMessage (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) |
| Sets or gets per face media textures. More...
|
|
string | HandleObjectMediaRequest (ObjectMediaRequest omr) |
| Handle a fetch request for media textures More...
|
|
string | HandleObjectMediaUpdate (string path, ObjectMediaUpdate omu) |
| Handle an update of media textures. More...
|
|
string | HandleObjectMediaNavigateMessage (string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) |
| Received from the viewer if a user has changed the url of a media texture. More...
|
|
void | CheckFaceParam (SceneObjectPart part, int face) |
| Check that the face number is valid for the given prim. More...
|
|
void | UpdateMediaUrl (SceneObjectPart part, UUID updateId) |
| Update the media url of the given part More...
|
|
bool | CheckUrlAgainstWhitelist (string rawUrl, string[] whitelist) |
| Check the given url against the given whitelist. More...
|
|
|
bool | m_isEnabled = true |
| Is this module enabled? More...
|
|
Scene | m_scene |
| The scene to which this module is attached More...
|
|
Dictionary< string, UUID > | m_omCapUsers = new Dictionary<string, UUID>() |
| Track the ObjectMedia capabilities given to users keyed by path More...
|
|
Dictionary< UUID, string > | m_omCapUrls = new Dictionary<UUID, string>() |
| Track the ObjectMedia capabilities given to users keyed by agent. Lock m_omCapUsers to manipulate. More...
|
|
Dictionary< string, UUID > | m_omuCapUsers = new Dictionary<string, UUID>() |
| Track the ObjectMediaUpdate capabilities given to users keyed by path More...
|
|
Dictionary< UUID, string > | m_omuCapUrls = new Dictionary<UUID, string>() |
| Track the ObjectMediaUpdate capabilities given to users keyed by agent. Lock m_omuCapUsers to manipulate More...
|
|
|
string | Name [get] |
|
Type | ReplaceableInterface [get] |
|
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 56 of file MoapModule.cs.
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.AddRegion |
( |
Scene |
scene | ) |
|
|
inline |
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.CheckFaceParam |
( |
SceneObjectPart |
part, |
|
|
int |
face |
|
) |
| |
|
inlineprotected |
Check that the face number is valid for the given prim.
- Parameters
-
Definition at line 554 of file MoapModule.cs.
bool OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.CheckUrlAgainstWhitelist |
( |
string |
rawUrl, |
|
|
string[] |
whitelist |
|
) |
| |
|
inlineprotected |
Check the given url against the given whitelist.
- Parameters
-
- Returns
- true if the url matches an entry on the whitelist, false otherwise
Definition at line 596 of file MoapModule.cs.
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.ClearMediaEntry |
( |
SceneObjectPart |
part, |
|
|
int |
face |
|
) |
| |
|
inline |
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.Close |
( |
| ) |
|
|
inline |
MediaEntry OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.GetMediaEntry |
( |
SceneObjectPart |
part, |
|
|
int |
face |
|
) |
| |
|
inline |
string OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.HandleObjectMediaMessage |
( |
string |
request, |
|
|
string |
path, |
|
|
string |
param, |
|
|
IOSHttpRequest |
httpRequest, |
|
|
IOSHttpResponse |
httpResponse |
|
) |
| |
|
inlineprotected |
Sets or gets per face media textures.
- Parameters
-
request | |
path | |
param | |
httpRequest | |
httpResponse | |
- Returns
Definition at line 299 of file MoapModule.cs.
string OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.HandleObjectMediaNavigateMessage |
( |
string |
request, |
|
|
string |
path, |
|
|
string |
param, |
|
|
IOSHttpRequest |
httpRequest, |
|
|
IOSHttpResponse |
httpResponse |
|
) |
| |
|
inlineprotected |
Received from the viewer if a user has changed the url of a media texture.
- Parameters
-
request | |
path | |
param | |
httpRequest | /param> - Parameters
-
httpResponse | /param> - Returns
|
|
Definition at line 480 of file MoapModule.cs.
string OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.HandleObjectMediaRequest |
( |
ObjectMediaRequest |
omr | ) |
|
|
inlineprotected |
Handle a fetch request for media textures
- Parameters
-
- Returns
Definition at line 324 of file MoapModule.cs.
string OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.HandleObjectMediaUpdate |
( |
string |
path, |
|
|
ObjectMediaUpdate |
omu |
|
) |
| |
|
inlineprotected |
Handle an update of media textures.
- Parameters
-
path | Path on which this request was made |
omu | /param> - Returns
|
Definition at line 363 of file MoapModule.cs.
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.Initialise |
( |
IConfigSource |
source | ) |
|
|
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.
- Parameters
-
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 93 of file MoapModule.cs.
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.OnDeregisterCaps |
( |
UUID |
agentID, |
|
|
Caps |
caps |
|
) |
| |
|
inline |
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.OnRegisterCaps |
( |
UUID |
agentID, |
|
|
Caps |
caps |
|
) |
| |
|
inline |
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.OnSceneObjectPartCopy |
( |
SceneObjectPart |
copy, |
|
|
SceneObjectPart |
original, |
|
|
bool |
userExposed |
|
) |
| |
|
inlineprotected |
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.RegionLoaded |
( |
Scene |
scene | ) |
|
|
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.
- Parameters
-
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 114 of file MoapModule.cs.
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.RemoveRegion |
( |
Scene |
scene | ) |
|
|
inline |
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.SetMediaEntry |
( |
SceneObjectPart |
part, |
|
|
int |
face, |
|
|
MediaEntry |
me |
|
) |
| |
|
inline |
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.SetPartMediaFlags |
( |
SceneObjectPart |
part, |
|
|
int |
face, |
|
|
bool |
flag |
|
) |
| |
|
inlineprotected |
Set the media flags on the texture face of the given part.
The fact that we need a separate function to do what should be a simple one line operation is BUTT UGLY.
- Parameters
-
Definition at line 282 of file MoapModule.cs.
void OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.UpdateMediaUrl |
( |
SceneObjectPart |
part, |
|
|
UUID |
updateId |
|
) |
| |
|
inlineprotected |
Update the media url of the given part
- Parameters
-
part | |
updateId | The id to attach to this update. Normally, this is the user that changed the texture |
Definition at line 573 of file MoapModule.cs.
bool OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.m_isEnabled = true |
|
protected |
Dictionary<UUID, string> OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.m_omCapUrls = new Dictionary<UUID, string>() |
|
protected |
Track the ObjectMedia capabilities given to users keyed by agent. Lock m_omCapUsers to manipulate.
Definition at line 81 of file MoapModule.cs.
Dictionary<string, UUID> OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.m_omCapUsers = new Dictionary<string, UUID>() |
|
protected |
Track the ObjectMedia capabilities given to users keyed by path
Definition at line 76 of file MoapModule.cs.
Dictionary<UUID, string> OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.m_omuCapUrls = new Dictionary<UUID, string>() |
|
protected |
Track the ObjectMediaUpdate capabilities given to users keyed by agent. Lock m_omuCapUsers to manipulate
Definition at line 91 of file MoapModule.cs.
Dictionary<string, UUID> OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.m_omuCapUsers = new Dictionary<string, UUID>() |
|
protected |
Track the ObjectMediaUpdate capabilities given to users keyed by path
Definition at line 86 of file MoapModule.cs.
Scene OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.m_scene |
|
protected |
The scene to which this module is attached
Definition at line 71 of file MoapModule.cs.
string OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.Name |
|
get |
Type OpenSim.Region.CoreModules.World.Media.Moap.MoapModule.ReplaceableInterface |
|
get |
The documentation for this class was generated from the following file: