aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 7ca5050..475788a 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2240,6 +2240,39 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2240 einfopack.Data = edata; 2240 einfopack.Data = edata;
2241 this.OutPacket(einfopack, ThrottleOutPacketType.Task); 2241 this.OutPacket(einfopack, ThrottleOutPacketType.Task);
2242 } 2242 }
2243
2244 public void sendDetailedEstateData(LLUUID invoice)
2245 {
2246 EstateOwnerMessagePacket packet = new EstateOwnerMessagePacket();
2247 packet.MethodData.Invoice = invoice;
2248 packet.AgentData.TransactionID = LLUUID.Random();
2249 packet.MethodData.Method = Helpers.StringToField("estateupdateinfo");
2250 EstateOwnerMessagePacket.ParamListBlock[] returnblock = new EstateOwnerMessagePacket.ParamListBlock[9];
2251
2252 for (int i = 0; i < 9; i++)
2253 {
2254 returnblock[i] = new EstateOwnerMessagePacket.ParamListBlock();
2255 }
2256
2257 //Sending Estate Settings
2258 returnblock[0].Parameter = Helpers.StringToField(m_scene.RegionInfo.EstateSettings.estateName);
2259 returnblock[1].Parameter = Helpers.StringToField(m_scene.RegionInfo.MasterAvatarAssignedUUID.ToString());
2260 returnblock[2].Parameter = Helpers.StringToField(m_scene.RegionInfo.EstateSettings.estateID.ToString());
2261
2262 // TODO: Resolve Magic numbers here
2263 returnblock[3].Parameter = Helpers.StringToField("269516800");
2264 returnblock[4].Parameter = Helpers.StringToField("0");
2265 returnblock[5].Parameter = Helpers.StringToField("1");
2266 returnblock[6].Parameter = Helpers.StringToField(m_scene.RegionInfo.RegionID.ToString());
2267 returnblock[7].Parameter = Helpers.StringToField("1160895077");
2268 returnblock[8].Parameter = Helpers.StringToField("1");
2269
2270 packet.ParamList = returnblock;
2271 packet.Header.Reliable = false;
2272 //System.Console.WriteLine("[ESTATE]: SIM--->" + packet.ToString());
2273 this.OutPacket(packet, ThrottleOutPacketType.Task);
2274 }
2275
2243 #endregion 2276 #endregion
2244 2277
2245 #region Helper Methods 2278 #region Helper Methods