peerRoomNameChangedCallback

GameSpy SDK

peerRoomNameChangedCallback

Called when a room name changes.

typedef void (*peerRoomNameChangedCallback)(
PEER peer,
RoomType roomType,
void * param );
RoutineRequired HeaderDistribution
peerRoomNameChangedCallback<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 peerRoomNameChangedCallback is called when the name of the specified room changes. This callback just serves as a notice. To get the actual name use peerGetRoomName().

Section Reference: Gamespy Peer SDK