mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-15 12:22:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
17
src/net/connection/WowConnectionResponse.hpp
Normal file
17
src/net/connection/WowConnectionResponse.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef NET_CONNECTION_WOW_CONNECTION_RESPONSE_HPP
|
||||
#define NET_CONNECTION_WOW_CONNECTION_RESPONSE_HPP
|
||||
|
||||
#include "net/Types.hpp"
|
||||
|
||||
class WowConnection;
|
||||
|
||||
class WowConnectionResponse {
|
||||
public:
|
||||
// Virtual member functions
|
||||
virtual void WCConnected(WowConnection* conn, WowConnection* inbound, uint32_t timeStamp, const NETCONNADDR* addr) = 0;
|
||||
virtual void WCCantConnect(WowConnection* conn, uint32_t timeStamp, NETCONNADDR* addr) = 0;
|
||||
virtual void WCDisconnected(WowConnection* conn, uint32_t timeStamp, NETCONNADDR* addr) {};
|
||||
virtual void WCDataReady(WowConnection* conn, uint32_t timeStamp, uint8_t* data, int32_t len) {};
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue