diff options
author | Robert Adams | 2015-03-28 08:30:52 -0700 |
---|---|---|
committer | Robert Adams | 2015-03-28 08:30:52 -0700 |
commit | c5a7bf6601dfde518a008d45b4e4a8dc8de698bf (patch) | |
tree | 335c8ffb0793a58083197723d2f62bcfb49a4d9c /OpenSim/Framework/MapBlockData.cs | |
parent | varregion: remove use of Constants.RegionSize is various places. (diff) | |
download | opensim-SC_OLD-c5a7bf6601dfde518a008d45b4e4a8dc8de698bf.zip opensim-SC_OLD-c5a7bf6601dfde518a008d45b4e4a8dc8de698bf.tar.gz opensim-SC_OLD-c5a7bf6601dfde518a008d45b4e4a8dc8de698bf.tar.bz2 opensim-SC_OLD-c5a7bf6601dfde518a008d45b4e4a8dc8de698bf.tar.xz |
varregion: add varregion and TerrainData use in LLClientView.
Add sending multiple parcel patches and sending patches by avatar
view distance.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/MapBlockData.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Framework/MapBlockData.cs b/OpenSim/Framework/MapBlockData.cs index 2298ac5..4bee499 100644 --- a/OpenSim/Framework/MapBlockData.cs +++ b/OpenSim/Framework/MapBlockData.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using OpenMetaverse.StructuredData; | ||
30 | 31 | ||
31 | namespace OpenSim.Framework | 32 | namespace OpenSim.Framework |
32 | { | 33 | { |
@@ -40,9 +41,26 @@ namespace OpenSim.Framework | |||
40 | public byte WaterHeight; | 41 | public byte WaterHeight; |
41 | public ushort X; | 42 | public ushort X; |
42 | public ushort Y; | 43 | public ushort Y; |
44 | public ushort SizeX; | ||
45 | public ushort SizeY; | ||
43 | 46 | ||
44 | public MapBlockData() | 47 | public MapBlockData() |
45 | { | 48 | { |
46 | } | 49 | } |
50 | |||
51 | public OSDMap ToOSD() | ||
52 | { | ||
53 | OSDMap map = new OSDMap(); | ||
54 | map["X"] = X; | ||
55 | map["Y"] = Y; | ||
56 | map["SizeX"] = SizeX; | ||
57 | map["SizeY"] = SizeY; | ||
58 | map["Name"] = Name; | ||
59 | map["Access"] = Access; | ||
60 | map["RegionFlags"] = RegionFlags; | ||
61 | map["WaterHeight"] = WaterHeight; | ||
62 | map["MapImageID"] = MapImageId; | ||
63 | return map; | ||
64 | } | ||
47 | } | 65 | } |
48 | } | 66 | } |