mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* Fixing compiler warnings in an attempt to reduce them back down to zero.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user