[Simian]
* Initial framework support for multiple simulators. Currently only the first region config is loaded, but the framework is there * Big reorganization of config and data files * Started renaming extensions that handle LLUDP packets to start with the LL prefix. Work in progress * Initial SSL support git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2482 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
70
Programs/Simian/Extensions/GridLocal.cs
Normal file
70
Programs/Simian/Extensions/GridLocal.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using ExtensionLoader;
|
||||
using OpenMetaverse;
|
||||
|
||||
namespace Simian
|
||||
{
|
||||
public class GridLocal : IExtension<Simian>, IGridProvider
|
||||
{
|
||||
Simian server;
|
||||
|
||||
public GridLocal()
|
||||
{
|
||||
}
|
||||
|
||||
public bool Start(Simian server)
|
||||
{
|
||||
this.server = server;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
}
|
||||
|
||||
public bool TryRegisterGridSpace(RegionInfo region, out UUID regionID)
|
||||
{
|
||||
regionID = UUID.Zero;
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool TryRegisterAnyGridSpace(RegionInfo region, bool isolated, out UUID regionID)
|
||||
{
|
||||
regionID = UUID.Zero;
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool UnregisterGridSpace(RegionInfo region)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public void RegionUpdate(RegionInfo region)
|
||||
{
|
||||
}
|
||||
|
||||
public void RegionHeartbeat(RegionInfo region)
|
||||
{
|
||||
}
|
||||
|
||||
public bool TryGetRegion(UUID regionID, out RegionInfo region)
|
||||
{
|
||||
region = null;
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool TryGetRegion(uint x, uint y, out RegionInfo region)
|
||||
{
|
||||
region = null;
|
||||
return false;
|
||||
}
|
||||
|
||||
public ISceneProvider GetDefaultLocalScene()
|
||||
{
|
||||
if (server.Scenes.Count > 0)
|
||||
return server.Scenes[0];
|
||||
else
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user