diff options
Adding new fields and home location methid to presence. Adding cleanup
(deleting all but one presence record) on logout so that they don't pile up.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IPresenceService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IPresenceService.cs b/OpenSim/Services/Interfaces/IPresenceService.cs index de3813a..2582648 100644 --- a/OpenSim/Services/Interfaces/IPresenceService.cs +++ b/OpenSim/Services/Interfaces/IPresenceService.cs | |||
@@ -41,6 +41,9 @@ namespace OpenSim.Services.Interfaces | |||
41 | public DateTime Logout; | 41 | public DateTime Logout; |
42 | public Vector3 Position; | 42 | public Vector3 Position; |
43 | public Vector3 LookAt; | 43 | public Vector3 LookAt; |
44 | public UUID HomeRegionID; | ||
45 | public Vector3 HomePosition; | ||
46 | public Vector3 HomeLookAt; | ||
44 | 47 | ||
45 | public PresenceInfo() | 48 | public PresenceInfo() |
46 | { | 49 | { |
@@ -87,6 +90,7 @@ namespace OpenSim.Services.Interfaces | |||
87 | bool LogoutRegionAgents(UUID regionID); | 90 | bool LogoutRegionAgents(UUID regionID); |
88 | 91 | ||
89 | bool ReportAgent(UUID sessionID, UUID regionID, Vector3 position, Vector3 lookAt); | 92 | bool ReportAgent(UUID sessionID, UUID regionID, Vector3 position, Vector3 lookAt); |
93 | bool SetHomeLocation(string userID, UUID regionID, Vector3 position, Vector3 lookAt); | ||
90 | 94 | ||
91 | PresenceInfo GetAgent(UUID sessionID); | 95 | PresenceInfo GetAgent(UUID sessionID); |
92 | PresenceInfo[] GetAgents(string[] userIDs); | 96 | PresenceInfo[] GetAgents(string[] userIDs); |