![]() |
Kochol Game Engine
0.1.0
|
#include <NetworkEvents.h>
Public Member Functions | |
NetworkEvents () | |
Constructor. | |
virtual | ~NetworkEvents () |
Destructor. | |
virtual void | OnConnected (RakNet::SystemAddress address) |
Is called when client connects to server. | |
virtual void | OnServerIsFull () |
The server is full and can't accept new client. | |
virtual void | OnConnectionFailed () |
We can't connect to server. | |
virtual void | OnConnectionLost () |
We lost our connection with server. | |
virtual void | OnDisconnect () |
Server disconnected. | |
virtual void | OnNewClientConnected (RakNet::Packet *packet) |
When a new clients connects to server. | |
virtual void | OnMessage (RakNet::Packet *packet) |
When the network receives a user message. |
Public Attributes | |
Network * | m_pNetwork |
Definition at line 10 of file NetworkEvents.h.
|
inline |
Constructor.
Definition at line 15 of file NetworkEvents.h.
|
inlinevirtual |
Destructor.
Definition at line 18 of file NetworkEvents.h.
|
inlinevirtual |
Is called when client connects to server.
Definition at line 21 of file NetworkEvents.h.
|
inlinevirtual |
We can't connect to server.
Definition at line 27 of file NetworkEvents.h.
|
inlinevirtual |
We lost our connection with server.
Definition at line 30 of file NetworkEvents.h.
|
inlinevirtual |
Server disconnected.
Definition at line 33 of file NetworkEvents.h.
|
inlinevirtual |
When the network receives a user message.
Definition at line 39 of file NetworkEvents.h.
|
inlinevirtual |
When a new clients connects to server.
Definition at line 36 of file NetworkEvents.h.
|
inlinevirtual |
The server is full and can't accept new client.
Definition at line 24 of file NetworkEvents.h.
Network* kge::net::NetworkEvents::m_pNetwork |
Definition at line 41 of file NetworkEvents.h.