add parent pointers to eliminate code duplication in many places
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user