bring subcommand abstraction in line with main command abstraction
This commit is contained in:
@@ -7,10 +7,9 @@
|
||||
#include "ServerState.hh"
|
||||
|
||||
|
||||
void check_size(uint16_t size, uint16_t min_size, uint16_t max_size = 0);
|
||||
|
||||
void process_subcommand(std::shared_ptr<ServerState> s,
|
||||
std::shared_ptr<Lobby> l, std::shared_ptr<Client> c, uint8_t command,
|
||||
uint8_t flag, const PSOSubcommand* sub, size_t count);
|
||||
uint8_t flag, const std::string& data);
|
||||
|
||||
bool subcommand_is_implemented(uint8_t which);
|
||||
|
||||
Reference in New Issue
Block a user