From 8a0a0f9bb563f2cb7ec823587e13e3f4483d3a68 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 26 Jun 2008 01:12:28 +0000 Subject: Add patch from bug #1596 - adds Doxygen documentation in OpenSim.Data.MySQL files. Thanks kerunix_Flan! --- OpenSim/Data/MySQL/MySQLUserData.cs | 42 ++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) (limited to 'OpenSim/Data/MySQL/MySQLUserData.cs') diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index 05874f8..11d9c26 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs @@ -56,8 +56,12 @@ namespace OpenSim.Data.MySQL private string m_connectString; /// + /// Initialise User Interface /// Loads and initialises the MySQL storage plugin + /// Warns and uses the obsolete mysql_connection.ini if connect string is empty. + /// Checks for migration /// + /// connect string. override public void Initialise(string connect) { if (connect == String.Empty) { @@ -494,7 +498,11 @@ namespace OpenSim.Data.MySQL return returnlist; } - // see IUserData + /// + /// See IUserData + /// + /// User UUID + /// User profile data override public UserProfileData GetUserByUUID(LLUUID uuid) { try @@ -526,7 +534,7 @@ namespace OpenSim.Data.MySQL /// /// Returns a user session searching by name /// - /// The account name + /// The account name : "Username Lastname" /// The users session override public UserAgentData GetAgentByName(string name) { @@ -545,6 +553,11 @@ namespace OpenSim.Data.MySQL return GetAgentByUUID(profile.ID); } + /// + /// + /// + /// + /// is it still used ? override public void StoreWebLoginKey(LLUUID AgentID, LLUUID WebLoginKey) { Dictionary param = new Dictionary(); @@ -694,9 +707,11 @@ namespace OpenSim.Data.MySQL return false; } + /// /// Appearance /// TODO: stubs for now to get us to a compiling state gently - // override + /// override + /// override public AvatarAppearance GetUserAppearance(LLUUID user) { try { @@ -723,6 +738,12 @@ namespace OpenSim.Data.MySQL return null; } } + + /// + /// Updates an avatar appearence + /// + /// The user UUID + /// The avatar appearance // override override public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { @@ -741,16 +762,31 @@ namespace OpenSim.Data.MySQL } } + /// + /// Adds an attachment item to a user + /// + /// the user UUID + /// the item UUID override public void AddAttachment(LLUUID user, LLUUID item) { return; } + /// + /// Removes an attachment from a user + /// + /// the user UUID + /// the item UUID override public void RemoveAttachment(LLUUID user, LLUUID item) { return; } + /// + /// Get the list of item attached to a user + /// + /// the user UUID + /// UUID list of attached item override public List GetAttachments(LLUUID user) { return new List(); -- cgit v1.1