aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IGridUserService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Interfaces/IGridUserService.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Services/Interfaces/IGridUserService.cs b/OpenSim/Services/Interfaces/IGridUserService.cs
index 2e7237e..6ad0f42 100644
--- a/OpenSim/Services/Interfaces/IGridUserService.cs
+++ b/OpenSim/Services/Interfaces/IGridUserService.cs
@@ -37,7 +37,7 @@ namespace OpenSim.Services.Interfaces
37 public class GridUserInfo 37 public class GridUserInfo
38 { 38 {
39 public string UserID; 39 public string UserID;
40 40
41 public UUID HomeRegionID; 41 public UUID HomeRegionID;
42 public Vector3 HomePosition; 42 public Vector3 HomePosition;
43 public Vector3 HomeLookAt; 43 public Vector3 HomeLookAt;
@@ -45,13 +45,13 @@ namespace OpenSim.Services.Interfaces
45 public UUID LastRegionID; 45 public UUID LastRegionID;
46 public Vector3 LastPosition; 46 public Vector3 LastPosition;
47 public Vector3 LastLookAt; 47 public Vector3 LastLookAt;
48 48
49 public bool Online; 49 public bool Online;
50 public DateTime Login; 50 public DateTime Login;
51 public DateTime Logout; 51 public DateTime Logout;
52 52
53 public GridUserInfo() {} 53 public GridUserInfo() {}
54 54
55 public GridUserInfo(Dictionary<string, object> kvp) 55 public GridUserInfo(Dictionary<string, object> kvp)
56 { 56 {
57 if (kvp.ContainsKey("UserID")) 57 if (kvp.ContainsKey("UserID"))
@@ -96,11 +96,11 @@ namespace OpenSim.Services.Interfaces
96 result["Online"] = Online.ToString(); 96 result["Online"] = Online.ToString();
97 result["Login"] = Login.ToString(); 97 result["Login"] = Login.ToString();
98 result["Logout"] = Logout.ToString(); 98 result["Logout"] = Logout.ToString();
99 99
100 return result; 100 return result;
101 } 101 }
102 } 102 }
103 103
104 public interface IGridUserService 104 public interface IGridUserService
105 { 105 {
106 GridUserInfo LoggedIn(string userID); 106 GridUserInfo LoggedIn(string userID);
@@ -115,7 +115,7 @@ namespace OpenSim.Services.Interfaces
115 /// <param name="lastLookAt">Last normalized look direction for the user</param> 115 /// <param name="lastLookAt">Last normalized look direction for the user</param>
116 /// <returns>True if the logout request was successfully processed, otherwise false</returns> 116 /// <returns>True if the logout request was successfully processed, otherwise false</returns>
117 bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); 117 bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
118 118
119 bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt); 119 bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt);
120 120
121 /// <summary> 121 /// <summary>
@@ -128,7 +128,7 @@ namespace OpenSim.Services.Interfaces
128 /// <param name="lastLookAt">Normalized look direction</param> 128 /// <param name="lastLookAt">Normalized look direction</param>
129 /// <returns>True if the user's last position was successfully updated, otherwise false</returns> 129 /// <returns>True if the user's last position was successfully updated, otherwise false</returns>
130 bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); 130 bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
131 131
132 GridUserInfo GetGridUserInfo(string userID); 132 GridUserInfo GetGridUserInfo(string userID);
133 GridUserInfo[] GetGridUserInfo(string[] userID); 133 GridUserInfo[] GetGridUserInfo(string[] userID);
134 } 134 }