From ee3d06220ef8ddbbc8af24981e147494110ed5c1 Mon Sep 17 00:00:00 2001
From: SignpostMarv
Date: Sun, 4 Nov 2012 10:57:15 +0000
Subject: Documenting parameters of methods on the IDialogModule interface
---
.../Region/Framework/Interfaces/IDialogModule.cs | 106 ++++++++++++++-------
1 file changed, 73 insertions(+), 33 deletions(-)
diff --git a/OpenSim/Region/Framework/Interfaces/IDialogModule.cs b/OpenSim/Region/Framework/Interfaces/IDialogModule.cs
index be9764a..d1e9df0 100644
--- a/OpenSim/Region/Framework/Interfaces/IDialogModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IDialogModule.cs
@@ -36,59 +36,75 @@ namespace OpenSim.Region.Framework.Interfaces
/// Send a non-modal alert message to a particular user. This can disappear from the user's view after a
/// small interval.
///
- ///
- ///
+ ///
+ /// IClientAPI object representing the user.
+ ///
+ /// Message text to send to the user.
void SendAlertToUser(IClientAPI client, string message);
///
/// Send an alert message to a particular user.
///
- ///
- ///
- ///
+ ///
+ /// IClientAPI object representing the user.
+ ///
+ /// Message text to send to the user.
+ /// Flag to control modality.
void SendAlertToUser(IClientAPI client, string message, bool modal);
///
/// Send a non-modal alert message to a particular user.
///
- ///
- ///
+ /// UUID of agent representing the user.
+ /// Message text to send to the user.
void SendAlertToUser(UUID agentID, string message);
///
/// Send an alert message to a particular user.
///
- ///
- ///
- ///
+ /// UUID of agent representing the user.
+ /// Message text to send to the user.
+ /// Flag to control modality.
void SendAlertToUser(UUID agentID, string message, bool modal);
///
/// Send an alert message to a particular user.
///
- ///
- ///
- ///
- ///
+ /// Account first name
+ /// Account last name
+ /// Message text to send to the user.
+ /// Flag to control modality.
void SendAlertToUser(string firstName, string lastName, string message, bool modal);
///
/// Send an alert message to all users in the scene.
///
- ///
+ /// Message text to send to all users.
void SendGeneralAlert(string message);
///
/// Send a dialog box to a particular user.
///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
+ ///
+ /// UUID of the avatar representing the user.
+ ///
+ ///
+ /// Name of the object sending the dialog.
+ ///
+ ///
+ /// UUID of the object sending the dialog.
+ ///
+ ///
+ /// UUID of the user that owns the object.
+ ///
+ /// Message text to send to the user.
+ ///
+ /// Texture UUID to pass along with the dialog.
+ ///
+ ///
+ /// Channel on which the selected button text should be broadcast.
+ ///
+ /// Dialog button text.
void SendDialogToUser(
UUID avatarID, string objectName, UUID objectID, UUID ownerID,
string message, UUID textureID, int ch, string[] buttonlabels);
@@ -96,13 +112,23 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// Send a url to a particular user.
///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
+ ///
+ /// UUID of the avatar representing the user.
+ ///
+ ///
+ /// Name of the object sending the dialog.
+ ///
+ ///
+ /// UUID of the object sending the dialog.
+ ///
+ ///
+ /// UUID of the user that owns the object.
+ ///
+ ///
+ /// Flag indicating whether or not the object is group-owned.
+ ///
+ /// Message text to send to the user.
+ /// Url to send to the user.
void SendUrlToUser(
UUID avatarID, string objectName, UUID objectID, UUID ownerID, bool groupOwned, string message, string url);
@@ -110,18 +136,32 @@ namespace OpenSim.Region.Framework.Interfaces
/// 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.
- ///
+ ///
/// The user sending the message
/// The name of the user doing the sending
/// The message being sent to the user
void SendNotificationToUsersInRegion(UUID fromAvatarID, string fromAvatarName, string message);
-
+
///
/// Send a textbox entry for the client to respond to
///
+ ///
+ /// UUID of the avatar representing the user.
+ ///
+ /// Message text to send to the user.
+ ///
+ /// Chat channel that the user's input should be broadcast on.
+ ///
+ /// Name of the object sending the dialog.
+ ///
+ /// UUID of the object sending the dialog.
+ ///
+ ///
+ /// UUID of the user that owns the object.
+ ///
void SendTextBoxToUser(UUID avatarid, string message, int chatChannel, string name, UUID objectid, UUID ownerid);
}
}
--
cgit v1.1