private void OnClosedEventConfirm(int selectButtonIndex) { if (selectButtonIndex == 0) { QuestStart.StartEventStage(DataMng.Instance().GetResultUtilData().last_dng_req); } }
private void StartEventStage() { GameWebAPI.WD_Req_DngStart startInfo = new GameWebAPI.WD_Req_DngStart { dungeonId = this.WorldDungeonData.worldDungeonM.worldDungeonId, deckNum = DataMng.Instance().RespDataMN_DeckList.selectDeckNum, userDungeonTicketId = this.WorldDungeonData.dungeon.userDungeonTicketId }; QuestStart.StartEventStage(startInfo); }
private IEnumerator GoBattle() { GameWebAPI.WD_Req_DngStart sendData = DataMng.Instance().GetResultUtilData().last_dng_req; if (!ClassSingleton <QuestData> .Instance.ExistEvent(sendData.dungeonId)) { RestrictionInput.StartLoad(RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON); while (!AssetDataCacheMng.Instance().IsCacheAllReadyType(AssetDataCacheMng.CACHE_TYPE.BATTLE_COMMON)) { yield return(null); } this.SetCacheChipIconResources(); RestrictionInput.EndLoad(); BattleStateManager.StartSingle(0.5f, 0.5f, true, null); } else { QuestStart.StartEventStage(DataMng.Instance().GetResultUtilData().last_dng_req); } yield break; }