From 490c09363641c6f90b8c4fc574d47daee6074a63 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 27 Dec 2009 02:11:25 +0000 Subject: [PATCH] Just make it compile :) --- .../Presence/PresenceServerPostHandler.cs | 4 +-- .../PresenceService/PresenceService.cs | 35 +++++++++++++++---- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs b/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs index d41ee2852b..8a68169e00 100644 --- a/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs +++ b/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs @@ -108,8 +108,8 @@ namespace OpenSim.Server.Handlers.Presence return FailureResult(); - if (m_PresenceService.Report(info)) - return SuccessResult(); +// if (m_PresenceService.ReportAgent(info)) +// return SuccessResult(); return FailureResult(); } diff --git a/OpenSim/Services/PresenceService/PresenceService.cs b/OpenSim/Services/PresenceService/PresenceService.cs index 04bcee65cb..9f0e4dae75 100644 --- a/OpenSim/Services/PresenceService/PresenceService.cs +++ b/OpenSim/Services/PresenceService/PresenceService.cs @@ -50,15 +50,36 @@ namespace OpenSim.Services.PresenceService { } - public bool Report(PresenceInfo presence) + public bool LoginAgent(UUID principalID, UUID sessionID, + UUID secureSessionID) { - PresenceData p = new PresenceData(); - p.Data = new Dictionary(); - - p.PrincipalID = presence.PrincipalID; - p.RegionID = presence.RegionID; - return false; } + + public bool LogoutAgent(UUID sessionID) + { + return false; + } + + public bool LogoutRegionAgents(UUID regionID) + { + return false; + } + + + public bool ReportAgent(UUID sessionID, UUID regionID, Vector3 position, Vector3 lookAt) + { + return false; + } + + public PresenceInfo GetAgent(UUID sessionID) + { + return null; + } + + public PresenceInfo[] GetAgents(UUID[] PrincipalIDs) + { + return null; + } } }