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/MySQLGridData.cs | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'OpenSim/Data/MySQL/MySQLGridData.cs') diff --git a/OpenSim/Data/MySQL/MySQLGridData.cs b/OpenSim/Data/MySQL/MySQLGridData.cs index e5940e2..394dbbd 100644 --- a/OpenSim/Data/MySQL/MySQLGridData.cs +++ b/OpenSim/Data/MySQL/MySQLGridData.cs @@ -49,8 +49,12 @@ namespace OpenSim.Data.MySQL private MySQLManager database; /// - /// Initialises the Grid Interface + /// Initialises Grid interface + /// Loads and initialises the MySQL storage plugin + /// Warns and uses the obsolete mysql_connection.ini if connect string is empty. + /// Check for migration /// + /// connect string. override public void Initialise(string connect) { if (connect != String.Empty) @@ -166,7 +170,7 @@ namespace OpenSim.Data.MySQL /// Minimum Y coordinate /// Maximum X coordinate /// Maximum Y coordinate - /// + /// Array of sim profiles override public RegionProfileData[] GetProfilesInRange(uint xmin, uint ymin, uint xmax, uint ymax) { try @@ -332,15 +336,21 @@ namespace OpenSim.Data.MySQL } } + /// + /// Update a sim profile + /// + /// The profile to update + /// Sucessful? + /// Same as AddProfile override public DataResponse UpdateProfile(RegionProfileData profile) { return AddProfile(profile); } /// - /// Deletes a profile from the database + /// Deletes a sim profile from the database /// - /// The profile to delete + /// the sim UUID /// Successful? //public DataResponse DeleteProfile(RegionProfileData profile) public DataResponse DeleteProfile(string uuid) @@ -397,6 +407,12 @@ namespace OpenSim.Data.MySQL return false; } + /// + /// Adds a location reservation + /// + /// + /// + /// override public ReservationData GetReservationAtPoint(uint x, uint y) { try -- cgit v1.1