diff options
author | Melanie | 2009-12-28 23:42:08 +0000 |
---|---|---|
committer | Melanie | 2009-12-28 23:42:08 +0000 |
commit | e0fc854f05b137c353196356e5b26d11b6ee6867 (patch) | |
tree | 9a1c0a29178a9f3e10b10f5e184f46bce1c61078 /OpenSim/Services/Interfaces | |
parent | Add the second step of the friends migration to pull data from the old table ... (diff) | |
download | opensim-SC_OLD-e0fc854f05b137c353196356e5b26d11b6ee6867.zip opensim-SC_OLD-e0fc854f05b137c353196356e5b26d11b6ee6867.tar.gz opensim-SC_OLD-e0fc854f05b137c353196356e5b26d11b6ee6867.tar.bz2 opensim-SC_OLD-e0fc854f05b137c353196356e5b26d11b6ee6867.tar.xz |
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); |