diff options
author | Justin Clarke Casey | 2009-01-08 18:50:46 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-08 18:50:46 +0000 |
commit | 17f783457b8dbd182f8184ef77c72d57d7c8da8b (patch) | |
tree | 2ab67061f34d29f724ee13ebec4a9ca884cdd5da /OpenSim/Region/Environment/Interfaces | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-17f783457b8dbd182f8184ef77c72d57d7c8da8b.zip opensim-SC-17f783457b8dbd182f8184ef77c72d57d7c8da8b.tar.gz opensim-SC-17f783457b8dbd182f8184ef77c72d57d7c8da8b.tar.bz2 opensim-SC-17f783457b8dbd182f8184ef77c72d57d7c8da8b.tar.xz |
* refactor: move code for sending a message to all users in a region to the DialogModule
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/IDialogModule.cs | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IDialogModule.cs b/OpenSim/Region/Environment/Interfaces/IDialogModule.cs index a296c5a..4a648d6 100644 --- a/OpenSim/Region/Environment/Interfaces/IDialogModule.cs +++ b/OpenSim/Region/Environment/Interfaces/IDialogModule.cs | |||
@@ -34,7 +34,8 @@ namespace OpenSim.Region.Environment.Interfaces | |||
34 | public interface IDialogModule | 34 | public interface IDialogModule |
35 | { | 35 | { |
36 | /// <summary> | 36 | /// <summary> |
37 | /// Send a non-modal alert message to a particular user. | 37 | /// Send a non-modal alert message to a particular user. This can disappear from the user's view after a |
38 | /// small interval. | ||
38 | /// </summary> | 39 | /// </summary> |
39 | /// <param name="client"></param> | 40 | /// <param name="client"></param> |
40 | /// <param name="message"></param> | 41 | /// <param name="message"></param> |
@@ -73,9 +74,22 @@ namespace OpenSim.Region.Environment.Interfaces | |||
73 | void SendAlertToUser(string firstName, string lastName, string message, bool modal); | 74 | void SendAlertToUser(string firstName, string lastName, string message, bool modal); |
74 | 75 | ||
75 | /// <summary> | 76 | /// <summary> |
76 | /// Send an alert messages to all avatars in the scene. | 77 | /// Send an alert message to all users in the scene. |
77 | /// </summary> | 78 | /// </summary> |
78 | /// <param name="message"></param> | 79 | /// <param name="message"></param> |
79 | void SendGeneralAlert(string message); | 80 | void SendGeneralAlert(string message); |
81 | |||
82 | /// <summary> | ||
83 | /// Send a notification to all users in the scene. This notification should remain around until the | ||
84 | /// user explicitly dismisses it. | ||
85 | /// </summary> | ||
86 | /// | ||
87 | /// On the Linden Labs Second Client (as of 1.21), this is a big blue box message on the upper right of the | ||
88 | /// screen. | ||
89 | /// | ||
90 | /// <param name="fromAvatarID">The user sending the message</param> | ||
91 | /// <param name="fromAvatarName">The name of the user doing the sending</param> | ||
92 | /// <param name="message">The message being sent to the user</param> | ||
93 | void SendNotificationToUsersInRegion(UUID fromAvatarID, string fromAvatarName, string message); | ||
80 | } | 94 | } |
81 | } | 95 | } |