aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-08-18 12:45:11 +0100
committerUbitUmarov2016-08-18 12:45:11 +0100
commitac542715f1712eaba298a0a8e42c3ce9b0c7f24a (patch)
treeaaf1736359a74b0f1572c6a5f387837770fbd1af /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
parentseveral changes on BunchOfCaps. Move some mesh cost initialization to its cla... (diff)
downloadopensim-SC_OLD-ac542715f1712eaba298a0a8e42c3ce9b0c7f24a.zip
opensim-SC_OLD-ac542715f1712eaba298a0a8e42c3ce9b0c7f24a.tar.gz
opensim-SC_OLD-ac542715f1712eaba298a0a8e42c3ce9b0c7f24a.tar.bz2
opensim-SC_OLD-ac542715f1712eaba298a0a8e42c3ce9b0c7f24a.tar.xz
add caps HomeLocation ; add client SendAlertMessage(string message, string info), where info in info message field. only minimal testing done
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 6275f19..f580e5a 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -2411,6 +2411,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2411 OutPacket(alertPack, ThrottleOutPacketType.Task); 2411 OutPacket(alertPack, ThrottleOutPacketType.Task);
2412 } 2412 }
2413 2413
2414 public void SendAlertMessage(string message, string info)
2415 {
2416 AlertMessagePacket alertPack = (AlertMessagePacket)PacketPool.Instance.GetPacket(PacketType.AlertMessage);
2417 alertPack.AlertData = new AlertMessagePacket.AlertDataBlock();
2418 alertPack.AlertData.Message = Util.StringToBytes256(message);
2419 alertPack.AlertInfo = new AlertMessagePacket.AlertInfoBlock[1];
2420 alertPack.AlertInfo[0] = new AlertMessagePacket.AlertInfoBlock();
2421 alertPack.AlertInfo[0].Message = Util.StringToBytes256(info);
2422 alertPack.AlertInfo[0].ExtraParams = new Byte[0];
2423 OutPacket(alertPack, ThrottleOutPacketType.Task);
2424 }
2425
2414 /// <summary> 2426 /// <summary>
2415 /// Send an agent alert message to the client. 2427 /// Send an agent alert message to the client.
2416 /// </summary> 2428 /// </summary>