peerAutoMatchStatusCallback

GameSpy SDK

peerAutoMatchStatusCallback

Called when the Automatch state has changed.

typedef void (*peerAutoMatchStatusCallback)(
PEER peer,
PEERAutoMatchStatus status,
void * param );
RoutineRequired HeaderDistribution
peerAutoMatchStatusCallback<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object
status
[in] The current status
param
[in] Pointer to user data. This is optional and will be passed unmodified to the callback function.

Remarks

The peerAutoMatchStatusCallback function is called when the AutoMatch state changes. For example, when a game is joined or the user begins hosting a game. Refer to the status descriptions below for more information.

Section Reference: Gamespy Peer SDK