Good day, I'm new to AppWarp. I've been trying to add a multiplayer mode to the game I created but seems like I can't join the room I created. Would certainly appreciate your help.
public void onJoinRoomDone(RoomEvent event){
log("onJoinRoomDone: "+event.getResult());
if(event.getResult()==WarpResponseResultCode.SUCCESS){// success case
this.roomId = event.getData().getId();
warpClient.subscribeRoom(roomId);
}else if(event.getResult()==WarpResponseResultCode.RESOURCE_NOT_FOUND){// no such room found
HashMap<String, Object> data = new HashMap<String, Object>();
data.put("result", "");
warpClient.createRoom("superjumper", "shephertz", 2, data);
}else{
warpClient.disconnect();
handleError();
}
}