public void AddRegion(Scene scene) { if (!m_Enabled) { return; } scene.RegisterModuleInterface <IPresenceService>(this); m_PresenceDetector.AddRegion(scene); m_log.InfoFormat("[REMOTE PRESENCE CONNECTOR]: Enabled remote presence for region {0}", scene.RegionInfo.RegionName); }
public void AddRegion(Scene scene) { if (!m_Enabled) { return; } // m_log.DebugFormat( // "[LOCAL PRESENCE CONNECTOR]: Registering IPresenceService to scene {0}", scene.RegionInfo.RegionName); scene.RegisterModuleInterface <IPresenceService>(this); m_PresenceDetector.AddRegion(scene); m_log.InfoFormat("[LOCAL PRESENCE CONNECTOR]: Enabled local presence for region {0}", scene.RegionInfo.RegionName); }