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 | 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 | 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 | 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 | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
void | SendAlertToUser (IClientAPI client, string message) |
Send a non-modal alert message to a particular user. This can disappear from the user's view after a small interval. More... | |
void | SendAlertToUser (IClientAPI client, string message, bool modal) |
Send an alert message to a particular user. More... | |
void | SendAlertToUser (UUID agentID, string message) |
Send a non-modal alert message to a particular user. More... | |
void | SendAlertToUser (UUID agentID, string message, bool modal) |
Send an alert message to a particular user. More... | |
void | SendAlertToUser (string firstName, string lastName, string message, bool modal) |
Send an alert message to a particular user. More... | |
void | SendGeneralAlert (string message) |
Send an alert message to all users in the scene. More... | |
void | SendDialogToUser (UUID avatarID, string objectName, UUID objectID, UUID ownerID, string message, UUID textureID, int ch, string[] buttonlabels) |
Send a dialog box to a particular user. More... | |
void | SendUrlToUser (UUID avatarID, string objectName, UUID objectID, UUID ownerID, bool groupOwned, string message, string url) |
Send a url to a particular user. More... | |
void | SendTextBoxToUser (UUID avatarid, string message, int chatChannel, string name, UUID objectid, UUID ownerID) |
Send a textbox entry for the client to respond to More... | |
void | SendNotificationToUsersInRegion (UUID fromAvatarID, string fromAvatarName, string message) |
Send a notification to all users in the scene. This notification should remain around until the user explicitly dismisses it. More... | |
void | HandleAlertConsoleCommand (string module, string[] cmdparams) |
Handle an alert command from the console. More... | |
Protected Attributes | |
Scene | m_scene |
Properties | |
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 44 of file DialogModule.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 54 of file DialogModule.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 85 of file DialogModule.cs.
|
inline |
Handle an alert command from the console.
module | |
cmdparams |
Definition at line 216 of file DialogModule.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 50 of file DialogModule.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 60 of file DialogModule.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 77 of file DialogModule.cs.
|
inline |
Send a non-modal alert message to a particular user. This can disappear from the user's view after a small interval.
client | IClientAPI object representing the user. |
message | Message text to send to the user. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 88 of file DialogModule.cs.
|
inline |
Send an alert message to a particular user.
client | IClientAPI object representing the user. |
message | Message text to send to the user. |
modal | Flag to control modality. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 93 of file DialogModule.cs.
|
inline |
Send a non-modal alert message to a particular user.
agentID | UUID of agent representing the user. |
message | Message text to send to the user. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 99 of file DialogModule.cs.
|
inline |
Send an alert message to a particular user.
agentID | UUID of agent representing the user. |
message | Message text to send to the user. |
modal | Flag to control modality. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 104 of file DialogModule.cs.
|
inline |
Send an alert message to a particular user.
firstName | Account first name |
lastName | Account last name |
message | Message text to send to the user. |
modal | Flag to control modality. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 112 of file DialogModule.cs.
|
inline |
Send a dialog box to a particular user.
avatarID | UUID of the avatar representing the user. |
objectName | Name of the object sending the dialog. |
objectID | UUID of the object sending the dialog. |
ownerID | UUID of the user that owns the object. |
message | Message text to send to the user. |
textureID | Texture UUID to pass along with the dialog. |
ch | Channel on which the selected button text should be broadcast. |
buttonlabels | Dialog button text. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 132 of file DialogModule.cs.
|
inline |
Send an alert message to all users in the scene.
message | Message text to send to all users. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 124 of file DialogModule.cs.
|
inline |
Send a notification to all users in the scene. This notification should remain around until the user explicitly dismisses it.
On the Linden Labs Second Client (as of 1.21), this is a big blue box message on the upper right of the screen.
fromAvatarID | The user sending the message |
fromAvatarName | The name of the user doing the sending |
message | The message being sent to the user |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 201 of file DialogModule.cs.
|
inline |
Send a textbox entry for the client to respond to
avatarID | UUID of the avatar representing the user. |
message | Message text to send to the user. |
chatChannel | Chat channel that the user's input should be broadcast on. |
name | Name of the object sending the dialog. |
objectid | UUID of the object sending the dialog. |
ownerid | UUID of the user that owns the object. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 173 of file DialogModule.cs.
|
inline |
Send a url to a particular user.
avatarID | UUID of the avatar representing the user. |
objectName | Name of the object sending the dialog. |
objectID | UUID of the object sending the dialog. |
ownerID | UUID of the user that owns the object. |
groupOwned | Flag indicating whether or not the object is group-owned. |
message | Message text to send to the user. |
url | Url to send to the user. |
Implements OpenSim.Region.Framework.Interfaces.IDialogModule.
Definition at line 160 of file DialogModule.cs.
|
protected |
Definition at line 48 of file DialogModule.cs.
|
get |
Definition at line 86 of file DialogModule.cs.
|
get |
Definition at line 52 of file DialogModule.cs.