Hi,
If you want to get status of Game based on business logic, you can use Room RPC API. These API provides to user so that the can write custom business logic. You can refer below example to use this, on server side in RoomAdapter you can define your own function name and call it from client side like.
In RoomAdapter
public String getRoomStatus(String playerId) {
return gameStatus;
}
On Client side :
warpClient.invokeRoomRPC(roomId,"getRoomStatus",player);
//You will get a callback in onInvokeRoomRPCDone function of RoomRequestListener
Let me know if it helps.
Thanks & Regards
Vishnu Garg