* Fixing compiler warnings in an attempt to reduce them back down to zero.

This commit is contained in:
Adam Frisby
2007-07-13 07:17:42 +00:00
parent 486632986c
commit 0f1b2f278b
4 changed files with 38 additions and 4 deletions

View File

@@ -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;
}
/// <summary>
///
/// </summary>
/// <remarks>TODO: Doesnt take any args??</remarks>
/// <returns></returns>
public virtual bool TriggerExpectChildAgent()
{
if (OnExpectChildAgent != null)
{
OnExpectChildAgent();
return true;
}
return false;
}
/// <summary>
///
/// </summary>
/// <remarks>Added to avoid a unused compiler warning on OnNeighboursUpdate, TODO: Check me</remarks>
/// <param name="neighbours"></param>
/// <returns></returns>
public virtual bool TriggerOnNeighboursUpdate(List<RegionInfo> neighbours)
{
if (OnNeighboursUpdate != null)
{
OnNeighboursUpdate(neighbours);
return true;
}
return false;
}
}
}