peerSetStagingRoomMaxPlayers

GameSpy SDK

peerSetStagingRoomMaxPlayers

Update the maximum number of players for a staging room.  Local client must be the host.

void peerSetStagingRoomMaxPlayers(
PEER peer,
int maxPlayers );
RoutineRequired HeaderDistribution
peerSetStagingRoomMaxPlayers<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object.
maxPlayers
[in] Maximum number of players.

Remarks

The peerSetStagingRoomMaxPlayers function updates the maximum number of players that a staging room can have. This can only be set by the host of the staging room.

Section Reference: Gamespy Peer SDK