peerStopGame

GameSpy SDK

peerStopGame

Called by the host when the game has ended.

void peerStopGame(
PEER peer );
RoutineRequired HeaderDistribution
peerStopGame<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object.

Remarks

The peerStopGame function is called by the host to stop a game. This also makes sure the player is no longer marked as playing. Also, this does any necessary cleanup if the local player was the host.
This should be called whenever coming back from a game.

Section Reference: Gamespy Peer SDK