aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/EventManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/EventManager.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/EventManager.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs
index 399379e..8f0b866 100644
--- a/OpenSim/Region/Framework/Scenes/EventManager.cs
+++ b/OpenSim/Region/Framework/Scenes/EventManager.cs
@@ -205,7 +205,11 @@ namespace OpenSim.Region.Framework.Scenes
205 public event OnMakeChildAgentDelegate OnMakeChildAgent; 205 public event OnMakeChildAgentDelegate OnMakeChildAgent;
206 206
207 public delegate void OnMakeRootAgentDelegate(ScenePresence presence); 207 public delegate void OnMakeRootAgentDelegate(ScenePresence presence);
208 public delegate void OnSaveNewWindlightProfileDelegate();
209 public delegate void OnSendNewWindlightProfileTargetedDelegate(RegionMeta7WindlightData wl, UUID user);
208 public event OnMakeRootAgentDelegate OnMakeRootAgent; 210 public event OnMakeRootAgentDelegate OnMakeRootAgent;
211 public event OnSendNewWindlightProfileTargetedDelegate OnSendNewWindlightProfileTargeted;
212 public event OnSaveNewWindlightProfileDelegate OnSaveNewWindlightProfile;
209 213
210 public delegate void NewInventoryItemUploadComplete(UUID avatarID, UUID assetID, string name, int userlevel); 214 public delegate void NewInventoryItemUploadComplete(UUID avatarID, UUID assetID, string name, int userlevel);
211 215
@@ -425,6 +429,8 @@ namespace OpenSim.Region.Framework.Scenes
425 private IncomingInstantMessage handlerUnhandledInstantMessage = null; //OnUnhandledInstantMessage; 429 private IncomingInstantMessage handlerUnhandledInstantMessage = null; //OnUnhandledInstantMessage;
426 private ClientClosed handlerClientClosed = null; //OnClientClosed; 430 private ClientClosed handlerClientClosed = null; //OnClientClosed;
427 private OnMakeChildAgentDelegate handlerMakeChildAgent = null; //OnMakeChildAgent; 431 private OnMakeChildAgentDelegate handlerMakeChildAgent = null; //OnMakeChildAgent;
432 private OnSaveNewWindlightProfileDelegate handlerSaveNewWindlightProfile = null; //OnSaveNewWindlightProfile;
433 private OnSendNewWindlightProfileTargetedDelegate handlerSendNewWindlightProfileTargeted = null; //OnSendNewWindlightProfileTargeted;
428 private OnMakeRootAgentDelegate handlerMakeRootAgent = null; //OnMakeRootAgent; 434 private OnMakeRootAgentDelegate handlerMakeRootAgent = null; //OnMakeRootAgent;
429 private OnTerrainTickDelegate handlerTerrainTick = null; // OnTerainTick; 435 private OnTerrainTickDelegate handlerTerrainTick = null; // OnTerainTick;
430 private RegisterCapsEvent handlerRegisterCaps = null; // OnRegisterCaps; 436 private RegisterCapsEvent handlerRegisterCaps = null; // OnRegisterCaps;
@@ -789,6 +795,24 @@ namespace OpenSim.Region.Framework.Scenes
789 } 795 }
790 } 796 }
791 797
798 public void TriggerOnSendNewWindlightProfileTargeted(RegionMeta7WindlightData wl, UUID user)
799 {
800 handlerSendNewWindlightProfileTargeted = OnSendNewWindlightProfileTargeted;
801 if (handlerSendNewWindlightProfileTargeted != null)
802 {
803 handlerSendNewWindlightProfileTargeted(wl, user);
804 }
805 }
806
807 public void TriggerOnSaveNewWindlightProfile()
808 {
809 handlerSaveNewWindlightProfile = OnSaveNewWindlightProfile;
810 if (handlerSaveNewWindlightProfile != null)
811 {
812 handlerSaveNewWindlightProfile();
813 }
814 }
815
792 public void TriggerOnMakeRootAgent(ScenePresence presence) 816 public void TriggerOnMakeRootAgent(ScenePresence presence)
793 { 817 {
794 handlerMakeRootAgent = OnMakeRootAgent; 818 handlerMakeRootAgent = OnMakeRootAgent;