MW 2007-05-31 12:52:17 +00:00
parent e89654424a
commit c194bfbada
3 changed files with 20 additions and 2 deletions

View File

@ -28,6 +28,10 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="libsecondlife, Version=0.9.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\libsecondlife.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />

View File

@ -4,6 +4,7 @@ using System.Text;
using OpenSim.Framework;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using libsecondlife;
namespace OpenGrid.Framework.Communications
{
@ -19,7 +20,7 @@ namespace OpenGrid.Framework.Communications
///
/// </summary>
/// <returns></returns>
public virtual RegionInfo LoadRegionConfigFromGridServer()
public virtual RegionInfo LoadRegionConfigFromGridServer(LLUUID regionID)
{
return null;
}
@ -37,8 +38,18 @@ namespace OpenGrid.Framework.Communications
/// <summary>
///
/// </summary>
/// <param name="regionInfo"></param>
/// <returns></returns>
public virtual bool InformNeighbourOfChildAgent()
public virtual List<RegionInfo> RequestNeighbours(RegionInfo regionInfo)
{
return null;
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public virtual bool InformNeighbourOfChildAgent( uint regionHandle, AgentCircuitData agentData) //should change from agentCircuitData
{
return false;
}

View File

@ -2,15 +2,18 @@ using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
namespace OpenSim.Framework
{
public delegate void ExpectUserDelegate();
public delegate void UpdateNeighbours(List<RegionInfo> neighbours);
public interface IRegionCommsHost
{
event ExpectUserDelegate OnExpectUser;
event GenericCall2 OnExpectChildAgent;
event GenericCall2 OnAvatarCrossingIntoRegion;
event UpdateNeighbours OnNeighboursUpdate;
}
}