From 2239ecba188b0435d9a6d58b1c66f2b6eb591116 Mon Sep 17 00:00:00 2001 From: mingchen Date: Fri, 8 Jun 2007 19:10:55 +0000 Subject: *Merged EstateManager, EstateSettings, ParcelManager,Parcel, and ParcelData classes *Incorporated EstateSettings into the RegionInfo class *Next step is to load from db, save to db the parcel and estate settings --- OpenSim/OpenSim.RegionServer/ClientView.API.cs | 43 --------------------- .../OpenSim.RegionServer.csproj | 32 +++++++-------- .../OpenSim.RegionServer.csproj.user | 2 +- .../OpenSim.RegionServer.dll.build | 45 ++++++---------------- 4 files changed, 29 insertions(+), 93 deletions(-) (limited to 'OpenSim/OpenSim.RegionServer') diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs index 89c1f61..dd9adac 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs @@ -235,49 +235,6 @@ namespace OpenSim } } - /// - /// - /// - /// - public void SendRegionHandshake(RegionInfo regionInfo) - { - OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet"); - System.Text.Encoding _enc = System.Text.Encoding.ASCII; - RegionHandshakePacket handshake = new RegionHandshakePacket(); - - OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details"); - handshake.RegionInfo.BillableFactor = 0; - handshake.RegionInfo.IsEstateManager = false; - handshake.RegionInfo.TerrainHeightRange00 = regionInfo.TerrainHeightRange00; - handshake.RegionInfo.TerrainHeightRange01 = regionInfo.TerrainHeightRange01; - handshake.RegionInfo.TerrainHeightRange10 = regionInfo.TerrainHeightRange10; - handshake.RegionInfo.TerrainHeightRange11 = regionInfo.TerrainHeightRange11; - handshake.RegionInfo.TerrainStartHeight00 = regionInfo.TerrainStartHeight00; - handshake.RegionInfo.TerrainStartHeight01 = regionInfo.TerrainStartHeight01; - handshake.RegionInfo.TerrainStartHeight10 = regionInfo.TerrainStartHeight10; - handshake.RegionInfo.TerrainStartHeight11 = regionInfo.TerrainStartHeight11; - handshake.RegionInfo.SimAccess = 13; - handshake.RegionInfo.WaterHeight = regionInfo.RegionWaterHeight; - uint regionFlags = 72458694; - if (regionInfo.RegionTerraform) - { - regionFlags -= 64; - } - handshake.RegionInfo.RegionFlags = regionFlags; - handshake.RegionInfo.SimName = _enc.GetBytes(regionInfo.RegionName + "\0"); - handshake.RegionInfo.SimOwner = new LLUUID("00000000-0000-0000-0000-000000000000"); - handshake.RegionInfo.TerrainBase0 = regionInfo.TerrainBase0; - handshake.RegionInfo.TerrainBase1 = regionInfo.TerrainBase1; - handshake.RegionInfo.TerrainBase2 = regionInfo.TerrainBase2; - handshake.RegionInfo.TerrainBase3 = regionInfo.TerrainBase3; - handshake.RegionInfo.TerrainDetail0 = regionInfo.TerrainDetail0; - handshake.RegionInfo.TerrainDetail1 = regionInfo.TerrainDetail1; - handshake.RegionInfo.TerrainDetail2 = regionInfo.TerrainDetail2; - handshake.RegionInfo.TerrainDetail3 = regionInfo.TerrainDetail3; - handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37"); - - OutPacket(handshake); - } /// /// diff --git a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj index 990b5c3..fa91d7d 100644 --- a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj +++ b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj @@ -124,7 +124,10 @@ - + + Code + + Code @@ -133,10 +136,10 @@ Code - + Code - + Code @@ -148,40 +151,37 @@ Code - - Code - - + Code - + Code - + Code - + Code - + Code - + Code - + Code - + Code - + Code Code - + Code diff --git a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj.user b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj.user index 9bfaf67..082d673 100644 --- a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj.user +++ b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.csproj.user @@ -2,7 +2,7 @@ Debug AnyCPU - C:\New Folder\second-life-viewer\opensim-dailys2\opensim26-05\branches\Sugilite\bin\ + C:\sugilite\bin\ 8.0.50727 ProjectFiles 0 diff --git a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build index c984f5a..fc33eb9 100644 --- a/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build +++ b/OpenSim/OpenSim.RegionServer/OpenSim.RegionServer.dll.build @@ -11,47 +11,26 @@ - - + + - + + + + - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - + + -- cgit v1.1