#include <Lobby2Client.h>

Public Member Functions | |
| void | SetServerAddress (SystemAddress addr) |
| Set the address of the server. When you call SendMsg() the packet will be sent to this address. | |
| virtual void | SendMsg (Lobby2Message *msg) |
Protected Member Functions | |
| PluginReceiveResult | OnReceive (Packet *packet) |
| void | OnClosedConnection (SystemAddress systemAddress, RakNetGUID rakNetGUID, PI2_LostConnectionReason lostConnectionReason) |
| void | OnShutdown (void) |
| Called when RakPeer is shutdown. | |
| void Lobby2Client::OnClosedConnection | ( | SystemAddress | systemAddress, | |
| RakNetGUID | rakNetGUID, | |||
| PI2_LostConnectionReason | lostConnectionReason | |||
| ) | [protected, virtual] |
Called when a connection is dropped because the user called RakPeer::CloseConnection() for a particular system
| [in] | systemAddress | The system whose connection was closed |
| [in] | rakNetGuid | The guid of the specified system |
| [in] | lostConnectionReason | How the connection was closed: manually, connection lost, or notification of disconnection |
Reimplemented from PluginInterface2.
| PluginReceiveResult Lobby2Client::OnReceive | ( | Packet * | packet | ) | [protected, virtual] |
OnReceive is called for every packet.
| [in] | packet | the packet that is being returned to the user |
Reimplemented from PluginInterface2.
| void Lobby2Client::SendMsg | ( | Lobby2Message * | msg | ) | [virtual] |
Send a command to the server
| [in] | msg | The message that represents the command |
| [in] | callbackId | Which callback, registered with SetCallbackInterface() or AddCallbackInterface(), should process the result. -1 for all |
1.5.7.1