cocos2dx not deleted room problem?

0 votes
hello.

i try user make room dynamic.

if user make room and just leave room, server has many room and can search by getallroom().

is it ok?
asked Feb 26, 2014 in AppWarp by brown (10 points)

1 Answer

0 votes
- Any idle room which is dynamically created(i.e. room with no user in it) will be deleted automatically after 1 hour since it became idle.

-If you created a room and joined it then you left the room, then upto 1 hour it will be live and you can get it by calling getAllRoom().

-If you want that room need to be deleted just after you left the room, you can delete it by calling deleteRoom if you have the room id.
answered Feb 26, 2014 by rajeev.etc (1,660 points)
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
...