peerInRoom
Determines if the local client is in a room of the specified type.
- PEERBool peerInRoom(
- PEER peer,
- RoomType roomType );
Routine | Required Header | Distribution |
---|---|---|
peerInRoom | <peer.h> | SDKZIP |
Return Value
This function returns PEERTrue if the local client is in the room, PEERFalse otherwise.
Parameters
- peer
- [in] Initialized peer object.
- roomType
- [in] Can be either TitleRoom, GroupRoom or StagingRoom.
Remarks
The peerInRoom function checks whether or not the local player is in the specified room type. It returns PEERTrue if the localy player is in the room specified.
Section Reference: Gamespy Peer SDK