aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/General')
-rw-r--r--OpenSim/Framework/General/RegionCommsListener.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/RegionCommsListener.cs b/OpenSim/Framework/General/RegionCommsListener.cs
index 2b0bc62..4d6b59c 100644
--- a/OpenSim/Framework/General/RegionCommsListener.cs
+++ b/OpenSim/Framework/General/RegionCommsListener.cs
@@ -29,6 +29,8 @@ using libsecondlife;
29using OpenSim.Framework.Interfaces; 29using OpenSim.Framework.Interfaces;
30using OpenSim.Framework.Types; 30using OpenSim.Framework.Types;
31 31
32using System.Collections.Generic;
33
32namespace OpenSim.Framework 34namespace OpenSim.Framework
33{ 35{
34 public class RegionCommsListener :IRegionCommsListener 36 public class RegionCommsListener :IRegionCommsListener
@@ -64,5 +66,38 @@ namespace OpenSim.Framework
64 } 66 }
65 return false; 67 return false;
66 } 68 }
69
70 /// <summary>
71 ///
72 /// </summary>
73 /// <remarks>TODO: Doesnt take any args??</remarks>
74 /// <returns></returns>
75 public virtual bool TriggerExpectChildAgent()
76 {
77 if (OnExpectChildAgent != null)
78 {
79 OnExpectChildAgent();
80 return true;
81 }
82
83 return false;
84 }
85
86 /// <summary>
87 ///
88 /// </summary>
89 /// <remarks>Added to avoid a unused compiler warning on OnNeighboursUpdate, TODO: Check me</remarks>
90 /// <param name="neighbours"></param>
91 /// <returns></returns>
92 public virtual bool TriggerOnNeighboursUpdate(List<RegionInfo> neighbours)
93 {
94 if (OnNeighboursUpdate != null)
95 {
96 OnNeighboursUpdate(neighbours);
97 return true;
98 }
99
100 return false;
101 }
67 } 102 }
68} 103}