peerSetTitleRoomChannel

GameSpy SDK

peerSetTitleRoomChannel

Set the channel to be used as the TitleRoom. (Rarely used, SDK sets title room automatically.).

void peerSetTitleRoomChannel(
PEER peer,
const gsi_char * channel );
RoutineRequired HeaderDistribution
peerSetTitleRoomChannel<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object.
channel
[in] Name of the channel to use as the title room.

Remarks

The peerSetTitleRoomChannel function associates a channel to be used as the TitleRoom. This function is normally not needed. It must be called while a title is set, and will only last until a new title is set. If called with a NULL or empty channel, then peer will determine the channel (the default behavior). If this is called while in a title room, it won’t take effect until the title room is left.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
peerSetTitleRoomChannelpeerSetTitleRoomChannelApeerSetTitleRoomChannelW

peerSetTitleRoomChannelW and peerSetTitleRoomChannelA are UNICODE and ANSI mapped versions of peerSetTitleRoomChannel. The arguments of peerSetTitleRoomChannelA are ANSI strings; those of peerSetTitleRoomChannelW are wide-character strings.

Section Reference: Gamespy Peer SDK