Files
psopeeps-newserv/src/ReceiveCommands.hh
T
2022-09-01 23:35:41 -07:00

14 lines
397 B
C++

#include <memory>
#include <string>
#include "Client.hh"
#include "ServerState.hh"
void on_connect(std::shared_ptr<ServerState> s, std::shared_ptr<Client> c);
void on_disconnect(std::shared_ptr<ServerState> s,
std::shared_ptr<Client> c);
void on_command(std::shared_ptr<ServerState> s, std::shared_ptr<Client> c,
uint16_t command, uint32_t flag, const std::string& data);