aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneEvents.cs
diff options
context:
space:
mode:
authormingchen2008-05-09 17:40:39 +0000
committermingchen2008-05-09 17:40:39 +0000
commit3900a165bcbaf39f8bb4155eba72a8a2aadd13da (patch)
treeb08c7d8f81564586789fc0d59433151993786d65 /OpenSim/Region/Environment/Scenes/SceneEvents.cs
parent* Removing console notifications of missing texture request sending (which ir... (diff)
downloadopensim-SC-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.zip
opensim-SC-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.tar.gz
opensim-SC-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.tar.bz2
opensim-SC-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.tar.xz
*Land/Parcel upates are now correct with a significant movement by the Client
*Moved OnSignificantClientMovement to where it is supposed to be - SceneEvents and not ScenePresence
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneEvents.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
index 65dca95..88537e9 100644
--- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
@@ -121,6 +121,12 @@ namespace OpenSim.Region.Environment.Scenes
121 public event AvatarEnteringNewParcel OnAvatarEnteringNewParcel; 121 public event AvatarEnteringNewParcel OnAvatarEnteringNewParcel;
122 122
123 123
124 public delegate void SignificantClientMovement(IClientAPI remote_client);
125
126 public event SignificantClientMovement OnSignificantClientMovement;
127
128
129
124 public delegate void NewGridInstantMessage(GridInstantMessage message); 130 public delegate void NewGridInstantMessage(GridInstantMessage message);
125 131
126 public event NewGridInstantMessage OnGridInstantMessageToIMModule; 132 public event NewGridInstantMessage OnGridInstantMessageToIMModule;
@@ -279,6 +285,7 @@ namespace OpenSim.Region.Environment.Scenes
279 private NewInventoryItemUploadComplete handlerNewInventoryItemUpdateComplete = null; 285 private NewInventoryItemUploadComplete handlerNewInventoryItemUpdateComplete = null;
280 private RequestChangeWaterHeight handlerRequestChangeWaterHeight = null; //OnRequestChangeWaterHeight 286 private RequestChangeWaterHeight handlerRequestChangeWaterHeight = null; //OnRequestChangeWaterHeight
281 private ScriptControlEvent handlerScriptControlEvent = null; 287 private ScriptControlEvent handlerScriptControlEvent = null;
288 private SignificantClientMovement handlerSignificantClientMovement = null;
282 289
283 private LandBuy handlerLandBuy = null; 290 private LandBuy handlerLandBuy = null;
284 private LandBuy handlerValidateLandBuy = null; 291 private LandBuy handlerValidateLandBuy = null;
@@ -608,6 +615,15 @@ namespace OpenSim.Region.Environment.Scenes
608 } 615 }
609 } 616 }
610 617
618 public void TriggerSignificantClientMovement(IClientAPI client)
619 {
620 handlerSignificantClientMovement = OnSignificantClientMovement;
621 if (handlerSignificantClientMovement != null)
622 {
623 handlerSignificantClientMovement(client);
624
625 }
626 }
611 internal void TriggerControlEvent(uint p, LLUUID scriptUUID, LLUUID avatarID, uint held, uint _changed) 627 internal void TriggerControlEvent(uint p, LLUUID scriptUUID, LLUUID avatarID, uint held, uint _changed)
612 { 628 {
613 handlerScriptControlEvent = OnScriptControlEvent; 629 handlerScriptControlEvent = OnScriptControlEvent;