peerNewPlayerListCallback

GameSpy SDK

peerNewPlayerListCallback

Callback when the entire player list for the specified room has been updated.

typedef void (*peerNewPlayerListCallback)(
PEER peer,
RoomType roomType,
void * param );
RoutineRequired HeaderDistribution
peerNewPlayerListCallback<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object
roomType
[in] Can be either TitleRoom, GroupRoom or StagingRoom.
param
[in] Pointer to user data. This is optional and will be passed unmodified to the callback function.

Remarks

The peerNewPlayerListCallback gets generated after turning off quiet mode. It serves as notice that the player list for this room has been updated. To get the new list, use peerEnumPlayers().

Section Reference: Gamespy Peer SDK