document BB 0101 command

This commit is contained in:
Martin Michelsen
2023-10-30 14:43:31 -07:00
parent 5e2e38f1b5
commit add46095c3
3 changed files with 8 additions and 4 deletions
+3 -2
View File
@@ -789,8 +789,9 @@ void send_quest_info(shared_ptr<Client> c, const string& text, bool is_download_
c->config.check_flag(Client::Flag::IS_DC_TRIAL_EDITION) ? ColorMode::STRIP : ColorMode::ADD);
}
void send_lobby_message_box(shared_ptr<Client> c, const string& text) {
send_header_text(c->channel, 0x01, 0, text, c->config.check_flag(Client::Flag::IS_DC_TRIAL_EDITION) ? ColorMode::STRIP : ColorMode::ADD);
void send_lobby_message_box(shared_ptr<Client> c, const string& text, bool left_side_on_bb) {
uint16_t command = (left_side_on_bb && (c->version() == GameVersion::BB)) ? 0x0101 : 0x0001;
send_header_text(c->channel, command, 0, text, c->config.check_flag(Client::Flag::IS_DC_TRIAL_EDITION) ? ColorMode::STRIP : ColorMode::ADD);
}
void send_ship_info(shared_ptr<Client> c, const string& text) {