aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/GridUserService.cs
diff options
context:
space:
mode:
authorDiva Canto2010-03-05 21:36:45 -0800
committerDiva Canto2010-03-05 21:36:45 -0800
commit5171464ac199f958a9a8a11664958260a88e863d (patch)
tree97f70afe241e8761d496d5f54acb5e5eae8d7495 /OpenSim/Services/UserAccountService/GridUserService.cs
parentrefactor: Move DetachSingleAttachmentToInv to region module (diff)
downloadopensim-SC_OLD-5171464ac199f958a9a8a11664958260a88e863d.zip
opensim-SC_OLD-5171464ac199f958a9a8a11664958260a88e863d.tar.gz
opensim-SC_OLD-5171464ac199f958a9a8a11664958260a88e863d.tar.bz2
opensim-SC_OLD-5171464ac199f958a9a8a11664958260a88e863d.tar.xz
Justin, I must have been dyslexic when I wrote UserGridService as the name for it. GridUserService makes more sense; it's the user of the grid, "grid user". I changed it everywhere.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/UserAccountService/GridUserService.cs (renamed from OpenSim/Services/UserAccountService/UserGridService.cs)16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Services/UserAccountService/UserGridService.cs b/OpenSim/Services/UserAccountService/GridUserService.cs
index 2d28b33..36cce75 100644
--- a/OpenSim/Services/UserAccountService/UserGridService.cs
+++ b/OpenSim/Services/UserAccountService/GridUserService.cs
@@ -39,20 +39,20 @@ using log4net;
39 39
40namespace OpenSim.Services.UserAccountService 40namespace OpenSim.Services.UserAccountService
41{ 41{
42 public class UserGridService : UserGridServiceBase, IUserGridService 42 public class GridUserService : GridUserServiceBase, IGridUserService
43 { 43 {
44 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 44 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
45 45
46 public UserGridService(IConfigSource config) : base(config) 46 public GridUserService(IConfigSource config) : base(config)
47 { 47 {
48 m_log.Debug("[USER GRID SERVICE]: Starting user grid service"); 48 m_log.Debug("[USER GRID SERVICE]: Starting user grid service");
49 } 49 }
50 50
51 public UserGridInfo GetUserGridInfo(string userID) 51 public GridUserInfo GetGridUserInfo(string userID)
52 { 52 {
53 UserGridData d = m_Database.GetUserGridData(userID); 53 GridUserData d = m_Database.GetGridUserData(userID);
54 54
55 UserGridInfo info = new UserGridInfo(); 55 GridUserInfo info = new GridUserInfo();
56 info.UserID = d.UserID; 56 info.UserID = d.UserID;
57 info.HomeRegionID = new UUID(d.Data["HomeRegionID"]); 57 info.HomeRegionID = new UUID(d.Data["HomeRegionID"]);
58 info.HomePosition = Vector3.Parse(d.Data["HomePosition"]); 58 info.HomePosition = Vector3.Parse(d.Data["HomePosition"]);
@@ -61,16 +61,16 @@ namespace OpenSim.Services.UserAccountService
61 return info; 61 return info;
62 } 62 }
63 63
64 public bool StoreUserGridInfo(UserGridInfo info) 64 public bool StoreGridUserInfo(GridUserInfo info)
65 { 65 {
66 UserGridData d = new UserGridData(); 66 GridUserData d = new GridUserData();
67 67
68 d.Data["UserID"] = info.UserID; 68 d.Data["UserID"] = info.UserID;
69 d.Data["HomeRegionID"] = info.HomeRegionID.ToString(); 69 d.Data["HomeRegionID"] = info.HomeRegionID.ToString();
70 d.Data["HomePosition"] = info.HomePosition.ToString(); 70 d.Data["HomePosition"] = info.HomePosition.ToString();
71 d.Data["HomeLookAt"] = info.HomeLookAt.ToString(); 71 d.Data["HomeLookAt"] = info.HomeLookAt.ToString();
72 72
73 return m_Database.StoreUserGridData(d); 73 return m_Database.StoreGridUserData(d);
74 } 74 }
75 } 75 }
76} \ No newline at end of file 76} \ No newline at end of file