#include <NetCallback.h>
Public Methods | |
| virtual void | ServerDiscovered (TNL::Address serverAddress, TNL::BitStream *stream)=0 |
| Called when a server is discovered. | |
| virtual void | JoinApproved (TNL::Address serverAddress, TNL::BitStream *stream)=0 |
| Called when the server accepts our join request. | |
| virtual void | JoinDenied (TNL::Address serverAddress, TNL::BitStream *stream)=0 |
| Called when the server denies our join request. | |
| virtual void | GameConnectionFailed (const char *errmsg)=0 |
| Called when the connection attempt to a server fails. | |
| virtual void | GameConnectionEstablished (TNL::Address serverAddress)=0 |
| Called when the connection is established with the server. | |
| virtual void | GameDisconnected (TNL::NetConnection::TerminationReason reason, const char *edString)=0 |
| Called when an established connection is terminated. | |
Definition at line 16 of file NetCallback.h.
|
|
Called when the connection is established with the server.
|
|
|
Called when the connection attempt to a server fails.
|
|
||||||||||||
|
Called when an established connection is terminated.
|
|
||||||||||||
|
Called when the server accepts our join request.
|
|
||||||||||||
|
Called when the server denies our join request.
|
|
||||||||||||
|
Called when a server is discovered.
|
1.2.18