aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General/RegionCommsListener.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/General/RegionCommsListener.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/OpenSim/Framework/General/RegionCommsListener.cs b/OpenSim/Framework/General/RegionCommsListener.cs
index caa4af7..ee0d503 100644
--- a/OpenSim/Framework/General/RegionCommsListener.cs
+++ b/OpenSim/Framework/General/RegionCommsListener.cs
@@ -25,15 +25,13 @@
25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26* 26*
27*/ 27*/
28using libsecondlife;
29using OpenSim.Framework.Interfaces;
30using OpenSim.Framework;
31 28
32using System.Collections.Generic; 29using System.Collections.Generic;
30using libsecondlife;
33 31
34namespace OpenSim.Framework 32namespace OpenSim.Framework
35{ 33{
36 public class RegionCommsListener :IRegionCommsListener 34 public class RegionCommsListener : IRegionCommsListener
37 { 35 {
38 public event ExpectUserDelegate OnExpectUser; 36 public event ExpectUserDelegate OnExpectUser;
39 public event GenericCall2 OnExpectChildAgent; 37 public event GenericCall2 OnExpectChildAgent;
@@ -46,11 +44,10 @@ namespace OpenSim.Framework
46 /// </summary> 44 /// </summary>
47 /// <param name="agent"></param> 45 /// <param name="agent"></param>
48 /// <returns></returns> 46 /// <returns></returns>
49 public virtual bool TriggerExpectUser(ulong regionHandle, AgentCircuitData agent) 47 public virtual bool TriggerExpectUser(ulong regionHandle, AgentCircuitData agent)
50 { 48 {
51 if(OnExpectUser != null) 49 if (OnExpectUser != null)
52 { 50 {
53
54 OnExpectUser(regionHandle, agent); 51 OnExpectUser(regionHandle, agent);
55 return true; 52 return true;
56 } 53 }
@@ -58,7 +55,8 @@ namespace OpenSim.Framework
58 return false; 55 return false;
59 } 56 }
60 57
61 public virtual bool TriggerExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, bool isFlying) 58 public virtual bool TriggerExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position,
59 bool isFlying)
62 { 60 {
63 if (OnAvatarCrossingIntoRegion != null) 61 if (OnAvatarCrossingIntoRegion != null)
64 { 62 {
@@ -111,4 +109,4 @@ namespace OpenSim.Framework
111 return false; 109 return false;
112 } 110 }
113 } 111 }
114} 112} \ No newline at end of file