diff options
| author | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2020-10-06 12:43:50 +0200 |
|---|---|---|
| committer | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2020-10-06 12:43:50 +0200 |
| commit | 5ab50c843174b714e7aca807d9aeec1b70f21679 (patch) | |
| tree | f2c40da16aae2bbb740fc7628655267adf6a1634 /src | |
| parent | 849f91d991bf0e95d579df268e9ab358e09b1ac1 (diff) | |
add BB packet for a MessageBox popup
Diffstat (limited to 'src')
| -rw-r--r-- | src/packet_distribution.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index e4e5d5c2..ee56cdbb 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -691,6 +691,11 @@ void AOApplication::server_packet_received(AOPacket *p_packet) if (courtroom_constructed && f_contents.size() > 0) w_courtroom->set_mute(false, f_contents.at(0).toInt()); } + else if (header == "BB") { + if (courtroom_constructed && f_contents.size() >= 1) { + call_notice(f_contents.at(0)); + } + } else if (header == "KK") { if (courtroom_constructed && f_contents.size() >= 1) { call_notice(tr("You have been kicked from the server.\nReason: %1") |
