NetPlayProto: Turn connection error enum into an enum class
Continues the migration off the MessageId type alias
This commit is contained in:
1 parent
dedd0b7ba1
commit
a034f378a0
4 files changed
+22
-21
No files matched your search
@@ -129,7 +129,7 @@ private:
|
||||
void SendToClients(const sf::Packet& packet, PlayerId skip_pid = 0,
|
||||
u8 channel_id = DEFAULT_CHANNEL);
|
||||
void Send(ENetPeer* socket, const sf::Packet& packet, u8 channel_id = DEFAULT_CHANNEL);
|
||||
unsigned int OnConnect(ENetPeer* socket, sf::Packet& rpac);
|
||||
ConnectionError OnConnect(ENetPeer* socket, sf::Packet& rpac);
|
||||
unsigned int OnDisconnect(const Client& player);
|
||||
unsigned int OnData(sf::Packet& packet, Client& player);
|
||||
|
||||
|
||||
Reference in new issue
Block a user