* 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:
John Hurliman
2009-03-12 23:02:42 +00:00
parent 627e0dbef7
commit 70fe1f8f2a
101 changed files with 3083 additions and 1746 deletions

View 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;
}
}
}