how to get all user name, that are connected in same room in multiplayer game?

0 votes
I am developing multiplayer game, that time required to display opponent name on the my screen, how to get opponent or all user name.
asked Apr 19, 2015 in AppWarp by tarbundiyahitesh21 (81 points)

1 Answer

0 votes
Hi,

You can use getLiveRoomInfo() to get list of all the users in a room. The result will be obtained onGetLiveRoomInfodone callback of RoomRequestListener. onGetLiveRoomInfoDone will contain LiveRoomInfoEvent object. LiveRoomInfoEvent object will contain an array of joined users.

You can read documentation here http://appwarp.shephertz.com/game-development-center/java-api-reference/#getliveroominfo

Thanks
answered Apr 19, 2015 by Suyash Mohan (900 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
...