From 0f1b2f278b9a11dacc14949cd78437c395d2f57c Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Fri, 13 Jul 2007 07:17:42 +0000
Subject: * Fixing compiler warnings in an attempt to reduce them back down to
zero.
---
OpenSim/Framework/General/RegionCommsListener.cs | 35 ++++++++++++++++++++++++
1 file changed, 35 insertions(+)
(limited to 'OpenSim/Framework/General')
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;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
+using System.Collections.Generic;
+
namespace OpenSim.Framework
{
public class RegionCommsListener :IRegionCommsListener
@@ -64,5 +66,38 @@ namespace OpenSim.Framework
}
return false;
}
+
+ ///
+ ///
+ ///
+ /// TODO: Doesnt take any args??
+ ///
+ public virtual bool TriggerExpectChildAgent()
+ {
+ if (OnExpectChildAgent != null)
+ {
+ OnExpectChildAgent();
+ return true;
+ }
+
+ return false;
+ }
+
+ ///
+ ///
+ ///
+ /// Added to avoid a unused compiler warning on OnNeighboursUpdate, TODO: Check me
+ ///
+ ///
+ public virtual bool TriggerOnNeighboursUpdate(List neighbours)
+ {
+ if (OnNeighboursUpdate != null)
+ {
+ OnNeighboursUpdate(neighbours);
+ return true;
+ }
+
+ return false;
+ }
}
}
--
cgit v1.1