From 55ac1c6dce15d768cc7240b75f903076a131c39e Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 10 Apr 2008 14:50:52 +0000 Subject: renaming of attributes in UserAgentData for readability --- OpenSim/Data/SQLite/SQLiteUserData.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'OpenSim/Data/SQLite/SQLiteUserData.cs') diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs index 3ee0c03..089c9df 100644 --- a/OpenSim/Data/SQLite/SQLiteUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserData.cs @@ -680,12 +680,12 @@ namespace OpenSim.Data.SQLite ua.AgentOnline = Convert.ToBoolean(row["agentOnline"]); ua.SessionID = new LLUUID((String) row["sessionID"]); ua.SecureSessionID = new LLUUID((String) row["secureSessionID"]); - ua.RegionID = new LLUUID((String) row["regionID"]); + ua.InitialRegion = new LLUUID((String) row["regionID"]); ua.LoginTime = Convert.ToInt32(row["loginTime"]); ua.LogoutTime = Convert.ToInt32(row["logoutTime"]); - ua.CurrentRegion = new LLUUID((String) row["currentRegion"]); - ua.CurrentHandle = Convert.ToUInt64(row["currentHandle"]); - ua.CurrentPos = new LLVector3( + ua.Region = new LLUUID((String) row["currentRegion"]); + ua.Handle = Convert.ToUInt64(row["currentHandle"]); + ua.Position = new LLVector3( Convert.ToSingle(row["currentPosX"]), Convert.ToSingle(row["currentPosY"]), Convert.ToSingle(row["currentPosZ"]) @@ -701,15 +701,15 @@ namespace OpenSim.Data.SQLite row["agentOnline"] = ua.AgentOnline; row["sessionID"] = ua.SessionID; row["secureSessionID"] = ua.SecureSessionID; - row["regionID"] = ua.RegionID; + row["regionID"] = ua.InitialRegion; row["loginTime"] = ua.LoginTime; row["logoutTime"] = ua.LogoutTime; - row["currentRegion"] = ua.CurrentRegion; - row["currentHandle"] = ua.CurrentHandle.ToString(); + row["currentRegion"] = ua.Region; + row["currentHandle"] = ua.Handle.ToString(); // vectors - row["currentPosX"] = ua.CurrentPos.X; - row["currentPosY"] = ua.CurrentPos.Y; - row["currentPosZ"] = ua.CurrentPos.Z; + row["currentPosX"] = ua.Position.X; + row["currentPosY"] = ua.Position.Y; + row["currentPosZ"] = ua.Position.Z; } /*********************************************************************** -- cgit v1.1