static public IEnumerator GetSpecifiedProblems(string player_id, LearningAction specifyingLearningAction, UInt32 count) { //UnityEngine.Debug.Log ("get problems"); Problem.SpecifiedProblemGetRequest getProblem = new Problem.SpecifiedProblemGetRequest(); getProblem.problem_count = (count); getProblem.player_id = (player_id); getProblem.specifying_learning_action = specifyingLearningAction.GetProto(); Logger.BasicLog("Specified Get Problems request going off to " + SPECIFIED_GET_PROBLEM_URL); if (SenseixSession.GetAuthToken() == "you don't need to see my identification") { yield break; } yield return(GetSingletonInstance().StartCoroutine( CoroutinePostRequest(getProblem, Response.ParseGetSpecifiedProblemResponse, GET_PROBLEM_URL, false))); }
public static IEnumerator GetSpecifiedProblems(string player_id, LearningAction specifyingLearningAction, UInt32 count) { //UnityEngine.Debug.Log ("get problems"); Problem.SpecifiedProblemGetRequest getProblem = new Problem.SpecifiedProblemGetRequest(); getProblem.problem_count = (count); getProblem.player_id = (player_id); getProblem.specifying_learning_action = specifyingLearningAction.GetProto (); Logger.BasicLog("Specified Get Problems request going off to " + SPECIFIED_GET_PROBLEM_URL); if (SenseixSession.GetAuthToken () == "you don't need to see my identification") yield break; yield return GetSingletonInstance().StartCoroutine( CoroutinePostRequest (getProblem, Response.ParseGetSpecifiedProblemResponse, GET_PROBLEM_URL, false)); }