From 101f60ea882f9cb623156ab11f1e9163d6bb02a0 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 27 Dec 2009 01:54:53 +0000 Subject: [PATCH] Interface changes --- OpenSim/Services/Interfaces/IPresenceService.cs | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/OpenSim/Services/Interfaces/IPresenceService.cs b/OpenSim/Services/Interfaces/IPresenceService.cs index e8babbf976..d86e50c4ac 100644 --- a/OpenSim/Services/Interfaces/IPresenceService.cs +++ b/OpenSim/Services/Interfaces/IPresenceService.cs @@ -47,17 +47,13 @@ namespace OpenSim.Services.Interfaces public interface IPresenceService { - // this should really be: - //bool LoginAgent(UUID userID, UUID agentID, UUID sessionID, UUID secureSessionID); - // but we'd have to add userID to the agents table - bool LoginAgent(UUID agentID, UUID sessionID, UUID secureSessionID); - bool LogoutAgent(UUID agentID); - bool LogoutAllAgents(UUID regionID); + bool LoginAgent(UUID principalID, UUID sessionID, UUID secureSessionID); + bool LogoutAgent(UUID sessionID); + bool LogoutRegionAgents(UUID regionID); - bool AgentArriving(UUID agentID, UUID regionID); - bool AgentLeaving(UUID agentID, UUID regionID); + bool ReportAgent(UUID sessionID, UUID regionID, Vector3 position, Vector3 lookAt); - bool TryGetAgent(UUID agentID, out PresenceInfo presence); - bool TryGetAgents(UUID[] agentIDs, out PresenceInfo[] presences); + PresenceInfo GetAgent(UUID sessionID); + PresenceInfo[] GetAgents(UUID[] PrincipalIDs); } }