Query and Reporting 2 SDK Callbacks

GameSpy SDK

Query and Reporting 2 SDK Callbacks

qr2_adderrorcallback_t

he callbacks provided to qr2_init; called in response to a message from the master server indicating a problem listing the server.

qr2_clientconnectedcallback_t

This callback is set via qr2_register_clientconnected_callback; called when a client has connected to the server.

qr2_clientmessagecallback_t

This callback is set via qr2_register_clientmessage_callback; called when a client message is received.

qr2_countcallback_t

One of the callbacks provided to qr2_init; called when the SDK needs to get a count of player or teams on the server.

qr2_keylistcallback_t

One of the callbacks provided to qr2_init; called when the SDK needs to determine all of the keys you game has values for.

qr2_natnegcallback_t

This callback is set via qr2_register_natneg_callback; called when a nat negotiation request is received.

qr2_playerteamkeycallback_t

One of the callbacks provided to qr2_init; called when a client requests information about a player key or a team key.

qr2_publicaddresscallback_t

This callback is set via qr2_register_publicaddress_callback; called when the local client's public address is received.

qr2_serverkeycallback_t

One of the callbacks provided to qr2_init, called when a client requests information about a specific server key.