aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLManager.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/MySQL/MySQLManager.cs
parentchanging UserAgentData to use properties. This caused more (diff)
downloadopensim-SC-55ac1c6dce15d768cc7240b75f903076a131c39e.zip
opensim-SC-55ac1c6dce15d768cc7240b75f903076a131c39e.tar.gz
opensim-SC-55ac1c6dce15d768cc7240b75f903076a131c39e.tar.bz2
opensim-SC-55ac1c6dce15d768cc7240b75f903076a131c39e.tar.xz
renaming of attributes in UserAgentData for readability
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLManager.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLManager.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/MySQLManager.cs b/OpenSim/Data/MySQL/MySQLManager.cs
index f2ec6be..38f56c4 100644
--- a/OpenSim/Data/MySQL/MySQLManager.cs
+++ b/OpenSim/Data/MySQL/MySQLManager.cs
@@ -427,11 +427,11 @@ namespace OpenSim.Data.MySQL
427 retval.LogoutTime = Convert.ToInt32(reader["logoutTime"].ToString()); 427 retval.LogoutTime = Convert.ToInt32(reader["logoutTime"].ToString());
428 428
429 // Current position 429 // Current position
430 retval.CurrentRegion = new LLUUID((string)reader["currentRegion"]); 430 retval.Region = new LLUUID((string)reader["currentRegion"]);
431 retval.CurrentHandle = Convert.ToUInt64(reader["currentHandle"].ToString()); 431 retval.Handle = Convert.ToUInt64(reader["currentHandle"].ToString());
432 LLVector3 tmp_v; 432 LLVector3 tmp_v;
433 LLVector3.TryParse((string) reader["currentPos"], out tmp_v); 433 LLVector3.TryParse((string) reader["currentPos"], out tmp_v);
434 retval.CurrentPos = tmp_v; 434 retval.Position = tmp_v;
435 } 435 }
436 else 436 else
437 { 437 {
@@ -915,9 +915,9 @@ namespace OpenSim.Data.MySQL
915 parameters["?agentOnline"] = (agentdata.AgentOnline == true) ? "1" : "0"; 915 parameters["?agentOnline"] = (agentdata.AgentOnline == true) ? "1" : "0";
916 parameters["?loginTime"] = agentdata.LoginTime.ToString(); 916 parameters["?loginTime"] = agentdata.LoginTime.ToString();
917 parameters["?logoutTime"] = agentdata.LogoutTime.ToString(); 917 parameters["?logoutTime"] = agentdata.LogoutTime.ToString();
918 parameters["?currentRegion"] = agentdata.CurrentRegion.ToString(); 918 parameters["?currentRegion"] = agentdata.Region.ToString();
919 parameters["?currentHandle"] = agentdata.CurrentHandle.ToString(); 919 parameters["?currentHandle"] = agentdata.Handle.ToString();
920 parameters["?currentPos"] = "<" + ((int)agentdata.CurrentPos.X).ToString() + "," + ((int)agentdata.CurrentPos.Y).ToString() + "," + ((int)agentdata.CurrentPos.Z).ToString() + ">"; 920 parameters["?currentPos"] = "<" + ((int)agentdata.Position.X).ToString() + "," + ((int)agentdata.Position.Y).ToString() + "," + ((int)agentdata.Position.Z).ToString() + ">";
921 921
922 bool returnval = false; 922 bool returnval = false;
923 923