peerStayInRoom

GameSpy SDK

peerStayInRoom

Allows SDK to remain in the title room after peerClearTitle. (Rarely used.).

void peerStayInRoom(
PEER peer,
RoomType roomType );
RoutineRequired HeaderDistribution
peerStayInRoom<peer.h>SDKZIP

Parameters

peer
[in] Initialized peer object.
roomType
[in] Only TitleRoom is currently supported.

Remarks

Calling this function signals Peer to stay in a room even if the title is cleared or changed (with peerClearTitle() or peerSetTitle()). This will only be in effect until the next call to peerSetTitle(). Only TitleRoom is currently supported. The function has no effect if no title is set.

Section Reference: Gamespy Peer SDK