public void UpdateRoomStatus(JSONObject data) { Prefs pref = new Prefs(); data.AddField("token", pref.getToken()); data.AddField("stage", pref.getStage()); Debug.Log("UpdateRoomStatus" + data.ToString()); sendRequest(ServerAPI.RequestType.SetGameStatus, data); }