add parent pointers to eliminate code duplication in many places

This commit is contained in:
Martin Michelsen
2023-09-19 22:15:41 -07:00
parent adad870aff
commit 2eb429436f
25 changed files with 1668 additions and 1705 deletions
+3 -2
View File
@@ -6,8 +6,9 @@
#include "ServerState.hh"
void on_subcommand_multi(
std::shared_ptr<ServerState> s, std::shared_ptr<Lobby> l,
std::shared_ptr<Client> c, uint8_t command, uint8_t flag,
std::shared_ptr<Client> c,
uint8_t command,
uint8_t flag,
const std::string& data);
bool subcommand_is_implemented(uint8_t which);