add $surrender command

This commit is contained in:
Martin Michelsen
2023-09-03 22:44:36 -07:00
parent c3edb93248
commit 9f943cf5d8
4 changed files with 50 additions and 6 deletions
+1
View File
@@ -145,6 +145,7 @@ public:
uint16_t card_id_for_card_ref(uint16_t card_ref) const;
bool card_ref_is_empty_or_has_valid_card_id(uint16_t card_ref) const;
bool check_for_battle_end();
void force_battle_result(uint8_t surrendered_client_id, bool set_winner);
void check_for_destroyed_cards_and_send_6xB4x05_6xB4x02();
bool check_presence_entry(uint8_t client_id) const;
void clear_player_flags_after_dice_phase();