From 25fea01b92a7682e10f57ce979217d31fee975ef Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 10 Apr 2008 14:09:30 +0000 Subject: further renaming of properties for clarity --- OpenSim/Framework/Communications/UserManagerBase.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs') diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index 02be6bd..91c284c 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs @@ -96,7 +96,7 @@ namespace OpenSim.Framework.UserManagement if (profile != null) { - profile.CurrentAgent = getUserAgent(profile.Id); + profile.CurrentAgent = getUserAgent(profile.ID); return profile; } } @@ -113,7 +113,7 @@ namespace OpenSim.Framework.UserManagement if (null != profile) { - profile.CurrentAgent = getUserAgent(profile.Id); + profile.CurrentAgent = getUserAgent(profile.ID); return profile; } } @@ -355,7 +355,7 @@ namespace OpenSim.Framework.UserManagement agent.sessionID = new LLUUID(randDataS, 0); // Profile UUID - agent.UUID = profile.Id; + agent.UUID = profile.ID; // Current position (from Home) agent.currentHandle = profile.HomeRegion; @@ -481,7 +481,7 @@ namespace OpenSim.Framework.UserManagement agent.sessionID = new LLUUID(randDataS, 0); // Profile UUID - agent.UUID = profile.Id; + agent.UUID = profile.ID; // Current position (from Home) agent.currentHandle = profile.HomeRegion; @@ -523,7 +523,7 @@ namespace OpenSim.Framework.UserManagement { UserProfileData user = new UserProfileData(); user.HomeLocation = new LLVector3(128, 128, 100); - user.Id = LLUUID.Random(); + user.ID = LLUUID.Random(); user.FirstName = firstName; user.SurName = lastName; user.PasswordHash = pass; @@ -545,14 +545,14 @@ namespace OpenSim.Framework.UserManagement } } - return user.Id; + return user.ID; } public bool UpdateUserProfileProperties(UserProfileData UserProfile) { - if (null == GetUserProfile(UserProfile.Id)) + if (null == GetUserProfile(UserProfile.ID)) { - m_log.Info("[USERSTORAGE]: Failed to find User by UUID " + UserProfile.Id.ToString()); + m_log.Info("[USERSTORAGE]: Failed to find User by UUID " + UserProfile.ID.ToString()); return false; } foreach (KeyValuePair plugin in _plugins) @@ -563,7 +563,7 @@ namespace OpenSim.Framework.UserManagement } catch (Exception e) { - m_log.Info("[USERSTORAGE]: Unable to update user " + UserProfile.Id.ToString() + m_log.Info("[USERSTORAGE]: Unable to update user " + UserProfile.ID.ToString() + " via " + plugin.Key + "(" + e.ToString() + ")"); return false; } -- cgit v1.1