peerGetRoomChannel

GameSpy SDK

peerGetRoomChannel

Returns the chat channel associated with the room type.

const gsi_char * peerGetRoomChannel(
PEER peer,
RoomType roomType );
RoutineRequired HeaderDistribution
peerGetRoomChannel<peer.h>SDKZIP

Return Value

This function returns the chat channel name for the specified room type.  NULL if the local client is not a member of the specified room type.

Parameters

peer
[in] Initialized peer object.
roomType
[in] Can be either TitleRoom, GroupRoom or StagingRoom.

Remarks

The peerGetRoomChannel gets the chat channel associated with the room. It returns NULL if not in the room.

Section Reference: Gamespy Peer SDK