diff options
author | UbitUmarov | 2018-12-30 22:31:32 +0000 |
---|---|---|
committer | UbitUmarov | 2018-12-30 22:31:32 +0000 |
commit | ffca7de65d2c19081899dae75303a3f98833c665 (patch) | |
tree | a5b91c89b9421f8ff68ef64eedaf4b139dc5ee56 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | mantis 8436: fix lludp message (diff) | |
download | opensim-SC-ffca7de65d2c19081899dae75303a3f98833c665.zip opensim-SC-ffca7de65d2c19081899dae75303a3f98833c665.tar.gz opensim-SC-ffca7de65d2c19081899dae75303a3f98833c665.tar.bz2 opensim-SC-ffca7de65d2c19081899dae75303a3f98833c665.tar.xz |
add some persistence (mysql only)
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 794162e..cbe2324 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -2424,8 +2424,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2424 | } | 2424 | } |
2425 | 2425 | ||
2426 | /// <summary> | 2426 | /// <summary> |
2427 | /// Send an alert message to the client. On the Linden client (tested 1.19.1.4), this pops up a brief duration | 2427 | /// Send an alert message to the client. This pops up a brief duration information box at a corner |
2428 | /// blue information box in the bottom right hand corner. | ||
2429 | /// </summary> | 2428 | /// </summary> |
2430 | /// <param name="message"></param> | 2429 | /// <param name="message"></param> |
2431 | public void SendAlertMessage(string message) | 2430 | public void SendAlertMessage(string message) |
@@ -2464,17 +2463,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2464 | /// the AlertMessage packet).</param> | 2463 | /// the AlertMessage packet).</param> |
2465 | public void SendAgentAlertMessage(string message, bool modal) | 2464 | public void SendAgentAlertMessage(string message, bool modal) |
2466 | { | 2465 | { |
2467 | OutPacket(BuildAgentAlertPacket(message, modal), ThrottleOutPacketType.Task); | ||
2468 | } | ||
2469 | |||
2470 | /// <summary> | ||
2471 | /// Construct an agent alert packet | ||
2472 | /// </summary> | ||
2473 | /// <param name="message"></param> | ||
2474 | /// <param name="modal"></param> | ||
2475 | /// <returns></returns> | ||
2476 | public AgentAlertMessagePacket BuildAgentAlertPacket(string message, bool modal) | ||
2477 | { | ||
2478 | // Prepend a slash to make the message come up in the top right | 2466 | // Prepend a slash to make the message come up in the top right |
2479 | // again. | 2467 | // again. |
2480 | // Allow special formats to be sent from aware modules. | 2468 | // Allow special formats to be sent from aware modules. |
@@ -2484,8 +2472,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2484 | alertPack.AgentData.AgentID = AgentId; | 2472 | alertPack.AgentData.AgentID = AgentId; |
2485 | alertPack.AlertData.Message = Util.StringToBytes256(message); | 2473 | alertPack.AlertData.Message = Util.StringToBytes256(message); |
2486 | alertPack.AlertData.Modal = modal; | 2474 | alertPack.AlertData.Modal = modal; |
2487 | 2475 | OutPacket(alertPack, ThrottleOutPacketType.Task); | |
2488 | return alertPack; | ||
2489 | } | 2476 | } |
2490 | 2477 | ||
2491 | public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, | 2478 | public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, |