/// <summary> /// Start /// </summary> private void Start() { // Photon Master Server から、接続解除 if (PhotonNetwork.IsConnected) { PhotonNetwork.Disconnect(); } //Home情報取得通信 HomeApi.CallHomeDataApi((response) => { //BGM再生 SoundManager.Instance.PlayBgm(BgmName.HOME); //ローディング表示消す SharedUI.Instance.HideSceneChangeAnimation(); //プレゼントBOX件数表示更新 uint presentBoxCount = response.tPresentBoxCount + response.tPresentBoxLimitedCount; this.presentBoxCountBadge.SetActive(presentBoxCount > 0); this.presentBoxCountText.text = presentBoxCount.ToString(); //必要ならログボ表示 this.OpenLoginBonusIfNeed(response); }); }
public ActionResult Home([FromBody] HomeApi homeApi) { if (homeApi == null) { return(Json(new ResultsJson(new Message(CodeMessage.PostNull, "PostNull"), null))); } return(Json(Global.BUSS.BussResults(this, homeApi))); }
public void Init() { instance = new HomeApi(); }
public HomeController(HomeApi homeApi) { this.homeApi = homeApi; }