handle Ep1&2 NTE protected commands properly

This commit is contained in:
Martin Michelsen
2025-10-11 17:37:09 -07:00
parent 3c32a66064
commit c2008f1f9c
6 changed files with 76 additions and 59 deletions
+2 -1
View File
@@ -353,7 +353,8 @@ enum class PlayerHPChange {
};
void send_change_player_hp(std::shared_ptr<Channel> ch, uint16_t client_id, PlayerHPChange what, int16_t amount);
void send_change_player_hp(std::shared_ptr<Lobby> l, uint16_t client_id, PlayerHPChange what, int16_t amount);
asio::awaitable<void> send_change_player_hp(std::shared_ptr<Client> c, uint16_t client_id, PlayerHPChange what, int16_t amount);
asio::awaitable<void> send_change_player_hp(std::shared_ptr<Lobby> l, uint16_t client_id, PlayerHPChange what, int16_t amount);
asio::awaitable<void> send_remove_negative_conditions(std::shared_ptr<Client> c);
void send_remove_negative_conditions(std::shared_ptr<Channel> ch, uint16_t client_id);