peerSetReady

GameSpy SDK

peerSetReady

Set the local clients ready state.

void peerSetReady(
PEER peer,
PEERBool ready );
RoutineRequired HeaderDistribution
peerSetReady<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object.
ready
[in] Set to PEERTrue to enable ready status.

Remarks

The peerSetReady function allows the local client to signal his/her ready status for a staging room.  A staging room host should not launch the game until all clients are ready.

Section Reference: Gamespy Peer SDK