From 44a7db0e44d175fcb854b7bfd11d3b97ed6b934c Mon Sep 17 00:00:00 2001 From: Tleiades Hax Date: Wed, 17 Oct 2007 09:36:11 +0000 Subject: Renamed SimProfileData to RegionProfileData --- OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs') diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs index 09ce6d2..e628882 100644 --- a/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs @@ -86,7 +86,7 @@ namespace OpenSim.Framework.Data.MSSQL /// maximum X coordinate /// maximum Y coordinate /// An array of region profiles - public SimProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d) + public RegionProfileData[] GetProfilesInRange(uint a, uint b, uint c, uint d) { return null; } @@ -96,7 +96,7 @@ namespace OpenSim.Framework.Data.MSSQL /// /// Region location handle /// Sim profile - public SimProfileData GetProfileByHandle(ulong handle) + public RegionProfileData GetProfileByHandle(ulong handle) { Dictionary param = new Dictionary(); param["handle"] = handle.ToString(); @@ -104,7 +104,7 @@ namespace OpenSim.Framework.Data.MSSQL IDbCommand result = database.Query("SELECT * FROM regions WHERE handle = @handle", param); IDataReader reader = result.ExecuteReader(); - SimProfileData row = database.getRow(reader); + RegionProfileData row = database.getRow(reader); reader.Close(); result.Dispose(); @@ -116,7 +116,7 @@ namespace OpenSim.Framework.Data.MSSQL /// /// The region UUID /// The sim profile - public SimProfileData GetProfileByLLUUID(LLUUID uuid) + public RegionProfileData GetProfileByLLUUID(LLUUID uuid) { Dictionary param = new Dictionary(); param["uuid"] = uuid.ToStringHyphenated(); @@ -124,7 +124,7 @@ namespace OpenSim.Framework.Data.MSSQL IDbCommand result = database.Query("SELECT * FROM regions WHERE uuid = @uuid", param); IDataReader reader = result.ExecuteReader(); - SimProfileData row = database.getRow(reader); + RegionProfileData row = database.getRow(reader); reader.Close(); result.Dispose(); @@ -136,7 +136,7 @@ namespace OpenSim.Framework.Data.MSSQL /// /// The profile to add /// A dataresponse enum indicating success - public DataResponse AddProfile(SimProfileData profile) + public DataResponse AddProfile(RegionProfileData profile) { if (database.insertRow(profile)) { @@ -162,7 +162,7 @@ namespace OpenSim.Framework.Data.MSSQL if (throwHissyFit) throw new Exception("CRYPTOWEAK AUTHENTICATE: Refusing to authenticate due to replay potential."); - SimProfileData data = GetProfileByLLUUID(uuid); + RegionProfileData data = GetProfileByLLUUID(uuid); return (handle == data.regionHandle && authkey == data.regionSecret); } -- cgit v1.1