From 8d841565518a29c7081212684c392bd1917dbe3e Mon Sep 17 00:00:00 2001 From: mingchen Date: Thu, 20 Dec 2007 03:24:34 +0000 Subject: *Added event called after any movement is handled (OnClientMovement) - will be used for parcel banning goodness --- OpenSim/Region/Environment/LandManagement/LandManager.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/LandManagement') diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 5e243d1..72c449b 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs @@ -100,7 +100,7 @@ namespace OpenSim.Region.Environment.LandManagement m_regInfo = reginfo; landIDList.Initialize(); scene.EventManager.OnAvatarEnteringNewParcel += new EventManager.AvatarEnteringNewParcel(handleAvatarChangingParcel); - + scene.EventManager.OnClientMovement += new EventManager.ClientMovement(this.handleAnyClientMovement); } @@ -660,6 +660,11 @@ namespace OpenSim.Region.Environment.LandManagement } } + public void handleAnyClientMovement(ScenePresence avatar) //Like handleSignificantClientMovement, but called with an AgentUpdate regardless of distance. + { + + } + public void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client) { -- cgit v1.1