diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneEvents.cs | 16 |
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; |