peerSetGroupID

GameSpy SDK

peerSetGroupID

Manually set the group ID.  Use with caution as this is normally set automatically.

void peerSetGroupID(
PEER peer,
int groupID );
RoutineRequired HeaderDistribution
peerSetGroupID<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object.
groupID
[in] Integer ID to set.  "0" for no group.

Remarks

The peerSetGroupID sets the group ID of a group room manually. This is not safe for automatically assigned group IDs.

Section Reference: Gamespy Peer SDK