From 490c09363641c6f90b8c4fc574d47daee6074a63 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 27 Dec 2009 02:11:25 +0000 Subject: Just make it compile :) --- .../Handlers/Presence/PresenceServerPostHandler.cs | 4 +-- .../Services/PresenceService/PresenceService.cs | 31 ++++++++++++++++++---- 2 files changed, 28 insertions(+), 7 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs b/OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs index d41ee28..8a68169 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 04bcee6..9f0e4da 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(); + return false; + } - p.PrincipalID = presence.PrincipalID; - p.RegionID = presence.RegionID; + 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; + } } } -- cgit v1.1