From a7e145bdfdb994f4c171d32740790cffc3fc4ad3 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 12 Dec 2008 18:48:29 +0000
Subject: * refactor: pull out common user profile test code into utility
functions
---
OpenSim/Region/Environment/Scenes/EventManager.cs | 4 ++++
OpenSim/Region/Environment/Scenes/SceneBase.cs | 8 +++++---
2 files changed, 9 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Environment')
diff --git a/OpenSim/Region/Environment/Scenes/EventManager.cs b/OpenSim/Region/Environment/Scenes/EventManager.cs
index ad25670..b493f84 100644
--- a/OpenSim/Region/Environment/Scenes/EventManager.cs
+++ b/OpenSim/Region/Environment/Scenes/EventManager.cs
@@ -233,18 +233,21 @@ namespace OpenSim.Region.Environment.Scenes
///
public delegate void RegisterCapsEvent(UUID agentID, Caps caps);
public event RegisterCapsEvent OnRegisterCaps;
+
///
/// DeregisterCapsEvent is called by Scene when the caps
/// handler for an agent are removed.
///
public delegate void DeregisterCapsEvent(UUID agentID, Caps caps);
public event DeregisterCapsEvent OnDeregisterCaps;
+
///
/// ChatFromWorldEvent is called via Scene when a chat message
/// from world comes in.
///
public delegate void ChatFromWorldEvent(Object sender, OSChatMessage chat);
public event ChatFromWorldEvent OnChatFromWorld;
+
///
/// ChatFromClientEvent is triggered via ChatModule (or
/// substitutes thereof) when a chat message
@@ -252,6 +255,7 @@ namespace OpenSim.Region.Environment.Scenes
///
public delegate void ChatFromClientEvent(Object sender, OSChatMessage chat);
public event ChatFromClientEvent OnChatFromClient;
+
///
/// ChatBroadcastEvent is called via Scene when a broadcast chat message
/// from world comes in
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs
index 805ca5d..9528a0d 100644
--- a/OpenSim/Region/Environment/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs
@@ -76,13 +76,15 @@ namespace OpenSim.Region.Environment.Scenes
///
public ILandChannel LandChannel;
- protected EventManager m_eventManager;
-
+ ///
+ /// Manage events that occur in this scene (avatar movement, script rez, etc.). Commonly used by region modules
+ /// to subscribe to scene events.
+ ///
public EventManager EventManager
{
get { return m_eventManager; }
}
-
+ protected EventManager m_eventManager;
protected ScenePermissions m_permissions;
public ScenePermissions Permissions
--
cgit v1.1