aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientView.API.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.API.cs43
1 files changed, 0 insertions, 43 deletions
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
235 } 235 }
236 } 236 }
237 237
238 /// <summary>
239 ///
240 /// </summary>
241 /// <param name="regionInfo"></param>
242 public void SendRegionHandshake(RegionInfo regionInfo)
243 {
244 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet");
245 System.Text.Encoding _enc = System.Text.Encoding.ASCII;
246 RegionHandshakePacket handshake = new RegionHandshakePacket();
247
248 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details");
249 handshake.RegionInfo.BillableFactor = 0;
250 handshake.RegionInfo.IsEstateManager = false;
251 handshake.RegionInfo.TerrainHeightRange00 = regionInfo.TerrainHeightRange00;
252 handshake.RegionInfo.TerrainHeightRange01 = regionInfo.TerrainHeightRange01;
253 handshake.RegionInfo.TerrainHeightRange10 = regionInfo.TerrainHeightRange10;
254 handshake.RegionInfo.TerrainHeightRange11 = regionInfo.TerrainHeightRange11;
255 handshake.RegionInfo.TerrainStartHeight00 = regionInfo.TerrainStartHeight00;
256 handshake.RegionInfo.TerrainStartHeight01 = regionInfo.TerrainStartHeight01;
257 handshake.RegionInfo.TerrainStartHeight10 = regionInfo.TerrainStartHeight10;
258 handshake.RegionInfo.TerrainStartHeight11 = regionInfo.TerrainStartHeight11;
259 handshake.RegionInfo.SimAccess = 13;
260 handshake.RegionInfo.WaterHeight = regionInfo.RegionWaterHeight;
261 uint regionFlags = 72458694;
262 if (regionInfo.RegionTerraform)
263 {
264 regionFlags -= 64;
265 }
266 handshake.RegionInfo.RegionFlags = regionFlags;
267 handshake.RegionInfo.SimName = _enc.GetBytes(regionInfo.RegionName + "\0");
268 handshake.RegionInfo.SimOwner = new LLUUID("00000000-0000-0000-0000-000000000000");
269 handshake.RegionInfo.TerrainBase0 = regionInfo.TerrainBase0;
270 handshake.RegionInfo.TerrainBase1 = regionInfo.TerrainBase1;
271 handshake.RegionInfo.TerrainBase2 = regionInfo.TerrainBase2;
272 handshake.RegionInfo.TerrainBase3 = regionInfo.TerrainBase3;
273 handshake.RegionInfo.TerrainDetail0 = regionInfo.TerrainDetail0;
274 handshake.RegionInfo.TerrainDetail1 = regionInfo.TerrainDetail1;
275 handshake.RegionInfo.TerrainDetail2 = regionInfo.TerrainDetail2;
276 handshake.RegionInfo.TerrainDetail3 = regionInfo.TerrainDetail3;
277 handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37");
278
279 OutPacket(handshake);
280 }
281 238
282 /// <summary> 239 /// <summary>
283 /// 240 ///