mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Attempt to fix trunk which someone broke <looks innocent>
This commit is contained in:
@@ -9,7 +9,7 @@ namespace OpenSim
|
||||
{
|
||||
public class AuthenticateSessionsBase
|
||||
{
|
||||
private Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>();
|
||||
public Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>();
|
||||
|
||||
public AuthenticateSessionsBase()
|
||||
{
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace OpenSim
|
||||
|
||||
RemoteGridBase gridServer = (RemoteGridBase)this.m_gridServer;
|
||||
|
||||
Dictionary<uint, AgentCircuitData> agentCircuits = gridServer.agentcircuits;
|
||||
Dictionary<uint, AgentCircuitData> agentCircuits = this.m_authenticateSessionsHandler.AgentCircuits;
|
||||
AgentCircuitData agentCircuit;
|
||||
|
||||
if (agentCircuits.TryGetValue(CircuitCode, out agentCircuit))
|
||||
|
||||
@@ -85,6 +85,7 @@ namespace OpenSim
|
||||
public bool m_sandboxMode;
|
||||
private int cachedtextureserial = 0;
|
||||
private RegionInfo m_regionData;
|
||||
protected AuthenticateSessionsBase m_authenticateSessionsHandler;
|
||||
|
||||
protected static Dictionary<PacketType, PacketMethod> PacketHandlers = new Dictionary<PacketType, PacketMethod>(); //Global/static handlers for all clients
|
||||
|
||||
@@ -98,7 +99,7 @@ namespace OpenSim
|
||||
}
|
||||
}
|
||||
|
||||
public SimClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, World world, Dictionary<uint, SimClient> clientThreads, AssetCache assetCache, IGridServer gridServer, OpenSimNetworkHandler application, InventoryCache inventoryCache, bool sandboxMode, bool child, RegionInfo regionDat)
|
||||
public SimClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, World world, Dictionary<uint, SimClient> clientThreads, AssetCache assetCache, IGridServer gridServer, OpenSimNetworkHandler application, InventoryCache inventoryCache, bool sandboxMode, bool child, RegionInfo regionDat, AuthenticateSessionsBase authenSessions)
|
||||
{
|
||||
m_world = world;
|
||||
m_clientThreads = clientThreads;
|
||||
@@ -109,6 +110,7 @@ namespace OpenSim
|
||||
m_sandboxMode = sandboxMode;
|
||||
m_child = child;
|
||||
m_regionData = regionDat;
|
||||
m_authenticateSessionsHandler = authenSessions;
|
||||
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "OpenSimClient.cs - Started up new client thread to handle incoming request");
|
||||
cirpack = initialcirpack;
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace OpenSim
|
||||
this.clientCircuits.Add(epSender, useCircuit.CircuitCode.Code);
|
||||
bool isChildAgent = false;
|
||||
|
||||
SimClient newuser = new SimClient(epSender, useCircuit, m_localWorld, _packetServer.ClientThreads, m_assetCache, m_gridServers.GridServer, this, m_inventoryCache, m_sandbox, isChildAgent, this.m_regionData);
|
||||
SimClient newuser = new SimClient(epSender, useCircuit, m_localWorld, _packetServer.ClientThreads, m_assetCache, m_gridServers.GridServer, this, m_inventoryCache, m_sandbox, isChildAgent, this.m_regionData, m_authenticateSessionsClass);
|
||||
if ((this.m_gridServers.UserServer != null) && (user_accounts))
|
||||
{
|
||||
newuser.UserServer = this.m_gridServers.UserServer;
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace OpenSim.world
|
||||
private LLUUID rootUUID;
|
||||
private Dictionary<LLUUID, Primitive2> ChildPrimitives = new Dictionary<LLUUID, Primitive2>();
|
||||
private Dictionary<uint, SimClient> m_clientThreads;
|
||||
private World m_world;
|
||||
|
||||
public SceneObject()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user