public PreRegistUser() { //Ready Proccesing _success = false; _httpCatchData = null; Dictionary <string, string> postDatas = new Dictionary <string, string> (); #if !UNITY_EDITOR && UNITY_IOS postDatas.Add(HttpConstants.UIID_NAME, NativeRecieveManager.GetUiid(DomainData._bundle)); if (DomainData._bundle == DomainData._parentBundle) { postDatas.Add(HttpConstants.UDID_NAME, NativeRecieveManager.GetUdid()); postDatas.Add(HttpConstants.IDFV_NAME, NativeRecieveManager.GetIdfv()); } else { postDatas.Add(HttpConstants.IDFV_NAME, NativeRecieveManager.GetUdid()); postDatas.Add(HttpConstants.UDID_NAME, NativeRecieveManager.GetIdfv()); } #else postDatas.Add(HttpConstants.UIID_NAME, NativeRecieveManager.GetUiid(DomainData._bundle)); postDatas.Add(HttpConstants.UDID_NAME, NativeRecieveManager.GetUdid()); postDatas.Add(HttpConstants.IDFV_NAME, NativeRecieveManager.GetIdfv()); #endif postDatas.Add(HttpConstants.PLATFORM_ID_NAME, DeviceService.GetPlatformId()); postDatas.Add(HttpConstants.API_VERSION_NAME, DeviceService.GetAppVersion()); postDatas.Add(HttpConstants.BUNDLE, DomainData._bundle); Request(postDatas); }
/// <summary> /// Calls the back. /// </summary> /// <param name="result">Result.</param> private void CallBack(UserDataEntity.Result result) { _success = (result != null); if (_success == true) { GetUserApi._httpCatchData = result; } }
/// <summary> /// Calls the back. /// </summary> /// <param name="result">Result.</param> private void CallBack(UserDataEntity.Result result) { _success = (result != null); Debug.Log(result.result + " === trueならメッセージ画像のサーバー送信完了。"); if (_success == true) { _httpCatchData = result; } }
/// <summary> /// Calls the back. /// </summary> /// <param name="result">Result.</param> private void CallBack(UserDataEntity.Result result) { _success = (result != null); if (_success == true) { if (_toUserId != "") { _httpOtherUserCatchData = result.result.user; } else { _httpCatchData = result; } } }