diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-01-06 12:41:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-06 12:41:52 -0600 |
| commit | d308fc83def2b2d1cb16b88a0a3f9355851f6cb7 (patch) | |
| tree | e91d492c8352be8c57404de09e9f72eb1f569cd6 /src/packet_distribution.cpp | |
| parent | f2a957f850f9ada9de405c5cfc80434c1545bd3a (diff) | |
| parent | c4b739292a217bb6a844d3ef4e89b656ab3f2d4b (diff) | |
Merge pull request #316 from AttorneyOnline/messagebox
add BB packet for a MessageBox popup
Diffstat (limited to 'src/packet_distribution.cpp')
| -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 0b73cdf3..4e2d5edb 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -535,6 +535,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") |
