cocos2dx get Player number of Room and Get Room ID

0 votes
hello.

1. i wanna get Players number of current room or special room.

2. when i know room name or user name, how to get RoomID? i wanna join someones room.
asked Feb 26, 2014 in AppWarp by brown (10 points)
edited Feb 26, 2014 by brown

1 Answer

0 votes
you can use the getLiveRoomInfo method to find out the number of users in a room.

to join a room - you need to know its room id or use the matchmaking apis - joinroominrange or joinroomwithproperties.
answered Feb 26, 2014 by dhruvc (1,099 points)
if room name -"testroom", owner -"test"
how to get roomid or join?
description or code Please.
ok, i solve this with map.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...