qr2_send_statechanged

GameSpy SDK

qr2_send_statechanged

Notify the GameSpy master server of a change in gamestate.

void qr2_send_statechanged(
qr2_t qrec );
RoutineRequired HeaderDistribution
qr2_send_statechanged<qr2.h>SDKZIP

Parameters

qrec
[in] Initialized QR2 SDK object.

Remarks

The qr2_send_statechanged function notifies the GameSpy backend of a change in game state.  This call is typically reserved for major changes such as mapname or gametype.  Only one statechange message may be sent per 10 second interval.  If a statechange is requested within this timeframe, it will be automatically delayed once the 10 second interval has elapsed.