handle multiple subcommands in one top-level command

This commit is contained in:
Martin Michelsen
2023-06-18 22:56:20 -07:00
parent dcbfeebc37
commit 24c5ad1d06
3 changed files with 31 additions and 10 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include "PSOProtocol.hh"
#include "ServerState.hh"
void on_subcommand(
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,
const std::string& data);