aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneEvents.cs
diff options
context:
space:
mode:
authormingchen2008-05-03 17:11:21 +0000
committermingchen2008-05-03 17:11:21 +0000
commit4a87d96c1741d4e785cd980e90182c4f7a1b64d1 (patch)
tree6bb575568ffa922e9a378947fc0a22649068230e /OpenSim/Region/Environment/Scenes/SceneEvents.cs
parent* For your fragging desire, damage enabled land works, but watch out!, life d... (diff)
downloadopensim-SC-4a87d96c1741d4e785cd980e90182c4f7a1b64d1.zip
opensim-SC-4a87d96c1741d4e785cd980e90182c4f7a1b64d1.tar.gz
opensim-SC-4a87d96c1741d4e785cd980e90182c4f7a1b64d1.tar.bz2
opensim-SC-4a87d96c1741d4e785cd980e90182c4f7a1b64d1.tar.xz
*Moved EstateManager into a region module
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneEvents.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
index 53a8d0f..2feed78 100644
--- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
@@ -151,6 +151,10 @@ namespace OpenSim.Region.Environment.Scenes
151 151
152 public event NewInventoryItemUploadComplete OnNewInventoryItemUploadComplete; 152 public event NewInventoryItemUploadComplete OnNewInventoryItemUploadComplete;
153 153
154 public delegate void RequestChangeWaterHeight(float height);
155
156 public event RequestChangeWaterHeight OnRequestChangeWaterHeight;
157
154 public delegate void AvatarKillData(uint KillerLocalID, ScenePresence avatar); 158 public delegate void AvatarKillData(uint KillerLocalID, ScenePresence avatar);
155 159
156 public event AvatarKillData OnAvatarKilled; 160 public event AvatarKillData OnAvatarKilled;
@@ -269,6 +273,8 @@ namespace OpenSim.Region.Environment.Scenes
269 private RegisterCapsEvent handlerRegisterCaps = null; // OnRegisterCaps; 273 private RegisterCapsEvent handlerRegisterCaps = null; // OnRegisterCaps;
270 private DeregisterCapsEvent handlerDeregisterCaps = null; // OnDeregisterCaps; 274 private DeregisterCapsEvent handlerDeregisterCaps = null; // OnDeregisterCaps;
271 private NewInventoryItemUploadComplete handlerNewInventoryItemUpdateComplete = null; 275 private NewInventoryItemUploadComplete handlerNewInventoryItemUpdateComplete = null;
276 private RequestChangeWaterHeight handlerRequestChangeWaterHeight = null; //OnRequestChangeWaterHeight
277
272 private LandBuy handlerLandBuy = null; 278 private LandBuy handlerLandBuy = null;
273 private LandBuy handlerValidateLandBuy = null; 279 private LandBuy handlerValidateLandBuy = null;
274 private AvatarKillData handlerAvatarKill = null; 280 private AvatarKillData handlerAvatarKill = null;
@@ -579,6 +585,15 @@ namespace OpenSim.Region.Environment.Scenes
579 handlerScriptNotAtTargetEvent(localID); 585 handlerScriptNotAtTargetEvent(localID);
580 } 586 }
581 } 587 }
588
589 public void TriggerRequestChangeWaterHeight(float height)
590 {
591 handlerRequestChangeWaterHeight = OnRequestChangeWaterHeight;
592 if (handlerRequestChangeWaterHeight != null)
593 {
594 handlerRequestChangeWaterHeight(height);
595 }
596 }
582 public void TriggerAvatarKill(uint KillerObjectLocalID, ScenePresence DeadAvatar) 597 public void TriggerAvatarKill(uint KillerObjectLocalID, ScenePresence DeadAvatar)
583 { 598 {
584 handlerAvatarKill = OnAvatarKilled; 599 handlerAvatarKill = OnAvatarKilled;