mirror of
https://github.com/opensim/opensim.git
synced 2026-06-05 02:15:38 +08:00
Added preliminary IRegionModule interface. Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way. Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule. Moved most of the code from Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular. Stopped Child agents showing up as part of the "show users" command.
34 lines
928 B
C#
34 lines
928 B
C#
using System.Collections.Generic;
|
|
using OpenSim.Framework;
|
|
using OpenSim.Framework.Types;
|
|
using OpenSim.Framework.Communications;
|
|
using OpenSim.Framework.Servers;
|
|
using OpenSim.Region.Capabilities;
|
|
using OpenSim.Region.Environment.Scenes;
|
|
using OpenSim.Region.Environment.LandManagement;
|
|
|
|
namespace OpenSim.Region.Environment
|
|
{
|
|
public delegate TResult ModuleAPIMethod<TResult, TParam0, TParam1>(TParam0 param0, TParam1 param1);
|
|
|
|
public class RegionManager
|
|
{
|
|
protected AgentCircuitManager authenticateHandler;
|
|
protected RegionCommsListener regionCommsHost;
|
|
protected CommunicationsManager commsManager;
|
|
protected List<Caps> capsHandlers = new List<Caps>();
|
|
protected BaseHttpServer httpListener;
|
|
|
|
protected Scene m_Scene;
|
|
|
|
public LandManager LandManager;
|
|
public EstateManager estateManager;
|
|
|
|
public RegionManager()
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
}
|