diff options
author | Adam Frisby | 2007-06-05 12:55:12 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-05 12:55:12 +0000 |
commit | 1e716260c8166005d3bd33f4cda68502a09994bb (patch) | |
tree | 457d68f241ca0d8b28e03fdcd1a93f6aaf75ec44 /OpenSim/OpenSim.RegionServer/world/Avatar.cs | |
parent | * Removing dead comments (diff) | |
download | opensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.zip opensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.tar.gz opensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.tar.bz2 opensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.tar.xz |
* Removed MainConsole.Instance.WriteLine completely
* Now exists MainConsole.Instance.Error/Warn/Notice/Verbose -- use those instead
* Removed some instances of System.Console use - aiming to depreciate this in favour of MainConsole completely.
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/world/Avatar.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/world/Avatar.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/OpenSim.RegionServer/world/Avatar.cs b/OpenSim/OpenSim.RegionServer/world/Avatar.cs index f9f3cc4..f7a5766 100644 --- a/OpenSim/OpenSim.RegionServer/world/Avatar.cs +++ b/OpenSim/OpenSim.RegionServer/world/Avatar.cs | |||
@@ -46,7 +46,7 @@ namespace OpenSim.world | |||
46 | m_regionTerraform = regionTerraform; | 46 | m_regionTerraform = regionTerraform; |
47 | m_regionWaterHeight = regionWater; | 47 | m_regionWaterHeight = regionWater; |
48 | 48 | ||
49 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Avatar.cs - Loading details from grid (DUMMY)"); | 49 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs - Loading details from grid (DUMMY)"); |
50 | ControllingClient = TheClient; | 50 | ControllingClient = TheClient; |
51 | localid = 8880000 + (this.m_world._localNumber++); | 51 | localid = 8880000 + (this.m_world._localNumber++); |
52 | Pos = ControllingClient.startpos; | 52 | Pos = ControllingClient.startpos; |
@@ -211,7 +211,7 @@ namespace OpenSim.world | |||
211 | 211 | ||
212 | public void CompleteMovement() | 212 | public void CompleteMovement() |
213 | { | 213 | { |
214 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:CompleteMovement() - Constructing AgentMovementComplete packet"); | 214 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:CompleteMovement() - Constructing AgentMovementComplete packet"); |
215 | AgentMovementCompletePacket mov = new AgentMovementCompletePacket(); | 215 | AgentMovementCompletePacket mov = new AgentMovementCompletePacket(); |
216 | mov.AgentData.SessionID = this.ControllingClient.SessionID; | 216 | mov.AgentData.SessionID = this.ControllingClient.SessionID; |
217 | mov.AgentData.AgentID = this.ControllingClient.AgentID; | 217 | mov.AgentData.AgentID = this.ControllingClient.AgentID; |
@@ -382,11 +382,11 @@ namespace OpenSim.world | |||
382 | //really really should be moved somewhere else (RegionInfo.cs ?) | 382 | //really really should be moved somewhere else (RegionInfo.cs ?) |
383 | public void SendRegionHandshake(World regionInfo) | 383 | public void SendRegionHandshake(World regionInfo) |
384 | { | 384 | { |
385 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet"); | 385 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet"); |
386 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; | 386 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; |
387 | RegionHandshakePacket handshake = new RegionHandshakePacket(); | 387 | RegionHandshakePacket handshake = new RegionHandshakePacket(); |
388 | 388 | ||
389 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details"); | 389 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details"); |
390 | handshake.RegionInfo.BillableFactor = 0; | 390 | handshake.RegionInfo.BillableFactor = 0; |
391 | handshake.RegionInfo.IsEstateManager = false; | 391 | handshake.RegionInfo.IsEstateManager = false; |
392 | handshake.RegionInfo.TerrainHeightRange00 = regionInfo.m_regInfo.TerrainHeightRange00; | 392 | handshake.RegionInfo.TerrainHeightRange00 = regionInfo.m_regInfo.TerrainHeightRange00; |
@@ -417,7 +417,7 @@ namespace OpenSim.world | |||
417 | handshake.RegionInfo.TerrainDetail3 = regionInfo.m_regInfo.TerrainDetail3; | 417 | handshake.RegionInfo.TerrainDetail3 = regionInfo.m_regInfo.TerrainDetail3; |
418 | handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37"); | 418 | handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37"); |
419 | 419 | ||
420 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionHandshake() - Sending RegionHandshake packet"); | 420 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Avatar.cs:SendRegionHandshake() - Sending RegionHandshake packet"); |
421 | this.ControllingClient.OutPacket(handshake); | 421 | this.ControllingClient.OutPacket(handshake); |
422 | } | 422 | } |
423 | 423 | ||