aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteUserData.cs
diff options
context:
space:
mode:
authorSean Dague2008-04-10 14:50:52 +0000
committerSean Dague2008-04-10 14:50:52 +0000
commit55ac1c6dce15d768cc7240b75f903076a131c39e (patch)
treeec8ec06c14f382265228d756f89a6c1e43ded15c /OpenSim/Data/SQLite/SQLiteUserData.cs
parentchanging UserAgentData to use properties. This caused more (diff)
downloadopensim-SC_OLD-55ac1c6dce15d768cc7240b75f903076a131c39e.zip
opensim-SC_OLD-55ac1c6dce15d768cc7240b75f903076a131c39e.tar.gz
opensim-SC_OLD-55ac1c6dce15d768cc7240b75f903076a131c39e.tar.bz2
opensim-SC_OLD-55ac1c6dce15d768cc7240b75f903076a131c39e.tar.xz
renaming of attributes in UserAgentData for readability
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs20
1 files changed, 10 insertions, 10 deletions
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
680 ua.AgentOnline = Convert.ToBoolean(row["agentOnline"]); 680 ua.AgentOnline = Convert.ToBoolean(row["agentOnline"]);
681 ua.SessionID = new LLUUID((String) row["sessionID"]); 681 ua.SessionID = new LLUUID((String) row["sessionID"]);
682 ua.SecureSessionID = new LLUUID((String) row["secureSessionID"]); 682 ua.SecureSessionID = new LLUUID((String) row["secureSessionID"]);
683 ua.RegionID = new LLUUID((String) row["regionID"]); 683 ua.InitialRegion = new LLUUID((String) row["regionID"]);
684 ua.LoginTime = Convert.ToInt32(row["loginTime"]); 684 ua.LoginTime = Convert.ToInt32(row["loginTime"]);
685 ua.LogoutTime = Convert.ToInt32(row["logoutTime"]); 685 ua.LogoutTime = Convert.ToInt32(row["logoutTime"]);
686 ua.CurrentRegion = new LLUUID((String) row["currentRegion"]); 686 ua.Region = new LLUUID((String) row["currentRegion"]);
687 ua.CurrentHandle = Convert.ToUInt64(row["currentHandle"]); 687 ua.Handle = Convert.ToUInt64(row["currentHandle"]);
688 ua.CurrentPos = new LLVector3( 688 ua.Position = new LLVector3(
689 Convert.ToSingle(row["currentPosX"]), 689 Convert.ToSingle(row["currentPosX"]),
690 Convert.ToSingle(row["currentPosY"]), 690 Convert.ToSingle(row["currentPosY"]),
691 Convert.ToSingle(row["currentPosZ"]) 691 Convert.ToSingle(row["currentPosZ"])
@@ -701,15 +701,15 @@ namespace OpenSim.Data.SQLite
701 row["agentOnline"] = ua.AgentOnline; 701 row["agentOnline"] = ua.AgentOnline;
702 row["sessionID"] = ua.SessionID; 702 row["sessionID"] = ua.SessionID;
703 row["secureSessionID"] = ua.SecureSessionID; 703 row["secureSessionID"] = ua.SecureSessionID;
704 row["regionID"] = ua.RegionID; 704 row["regionID"] = ua.InitialRegion;
705 row["loginTime"] = ua.LoginTime; 705 row["loginTime"] = ua.LoginTime;
706 row["logoutTime"] = ua.LogoutTime; 706 row["logoutTime"] = ua.LogoutTime;
707 row["currentRegion"] = ua.CurrentRegion; 707 row["currentRegion"] = ua.Region;
708 row["currentHandle"] = ua.CurrentHandle.ToString(); 708 row["currentHandle"] = ua.Handle.ToString();
709 // vectors 709 // vectors
710 row["currentPosX"] = ua.CurrentPos.X; 710 row["currentPosX"] = ua.Position.X;
711 row["currentPosY"] = ua.CurrentPos.Y; 711 row["currentPosY"] = ua.Position.Y;
712 row["currentPosZ"] = ua.CurrentPos.Z; 712 row["currentPosZ"] = ua.Position.Z;
713 } 713 }
714 714
715 /*********************************************************************** 715 /***********************************************************************