From 39b64564dca0e5cb57a2a8e1b60979ccaaf11ef6 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 26 Jul 2007 14:55:42 +0000 Subject: * Started renaming world to Scene * Update and UpdateMovement now first stores array to avoid collection update exceptions * Ignored some bins --- OpenSim/Region/ClientStack/PacketServer.cs | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'OpenSim/Region/ClientStack/PacketServer.cs') diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs index 596cdbe..9d2250e 100644 --- a/OpenSim/Region/ClientStack/PacketServer.cs +++ b/OpenSim/Region/ClientStack/PacketServer.cs @@ -40,7 +40,7 @@ namespace OpenSim.Region.ClientStack public class PacketServer { private ClientStackNetworkHandler _networkHandler; - private IWorld _localWorld; + private IScene _localScene; public Dictionary ClientThreads = new Dictionary(); private ClientManager m_clientManager = new ClientManager(); public ClientManager ClientManager @@ -54,11 +54,11 @@ namespace OpenSim.Region.ClientStack _networkHandler.RegisterPacketServer(this); } - public IWorld LocalWorld + public IScene LocalScene { set { - this._localWorld = value; + this._localScene = value; } } @@ -122,19 +122,7 @@ namespace OpenSim.Region.ClientStack } - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - protected virtual ClientView CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, Dictionary clientThreads, IWorld world, AssetCache assetCache, PacketServer packServer, InventoryCache inventoryCache, AgentCircuitManager authenSessions) + protected virtual ClientView CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, Dictionary clientThreads, IScene world, AssetCache assetCache, PacketServer packServer, InventoryCache inventoryCache, AgentCircuitManager authenSessions) { return new ClientView(remoteEP, initialcirpack, clientThreads, world, assetCache, packServer, inventoryCache, authenSessions ); } @@ -151,7 +139,7 @@ namespace OpenSim.Region.ClientStack public virtual bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache, InventoryCache inventoryCache, AgentCircuitManager authenticateSessionsClass) { ClientView newuser = - CreateNewClient(epSender, useCircuit, ClientThreads, _localWorld, assetCache, this, inventoryCache, + CreateNewClient(epSender, useCircuit, ClientThreads, _localScene, assetCache, this, inventoryCache, authenticateSessionsClass); this.ClientThreads.Add(useCircuit.CircuitCode.Code, newuser); -- cgit v1.1