|
@@ -98,7 +98,7 @@ namespace GFGGame
|
|
|
_effectUI10 = EffectUIPool.CreateEffectUI(_ui.m_comExpBar.m_proExp.m_comHolder.m_holder, "ui_fight_new", "ZDJS_jindu_tx");
|
|
|
_effectUI11 = EffectUIPool.CreateEffectUI(_ui.m_comExpBar.m_holderHead, "ui_fight_new", "ZDJS_player");
|
|
|
}
|
|
|
- protected override void OnShown()
|
|
|
+ protected async override void OnShown()
|
|
|
{
|
|
|
base.OnShown();
|
|
|
_resultData = (StoryFightResultData)this.viewData;
|
|
@@ -140,9 +140,17 @@ namespace GFGGame
|
|
|
Timers.inst.Add(3, 1, OnClickBtnClose);
|
|
|
}
|
|
|
_ui.m_comResult.m_t0.Play(AddExp);
|
|
|
+
|
|
|
+ StoryLevelCfg storylevel = StoryLevelCfgArray.Instance.GetCfg(MainStoryDataManager.currentLevelCfgId);
|
|
|
+ if (_resultData.Result && storylevel.type == 6 && storylevel.subType == 2)
|
|
|
+ {
|
|
|
+ //await TimeTracingSProxy.ReqGetMaxLevelInfo(TimeTracingDataManager._currentChapterId);
|
|
|
+ await TimeTracingSProxy.ReqGetAppointLevelRewardStatus(TimeTracingDataManager._currentChapterId);
|
|
|
+ await TimeTracingSProxy.ReqGetSuitRewardStatus();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- protected async override void OnHide()
|
|
|
+ protected override void OnHide()
|
|
|
{
|
|
|
base.OnHide();
|
|
|
|
|
@@ -166,13 +174,6 @@ namespace GFGGame
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- StoryLevelCfg storylevel = StoryLevelCfgArray.Instance.GetCfg(MainStoryDataManager.currentLevelCfgId);
|
|
|
- if (storylevel.type == 6 && storylevel.subType == 2)
|
|
|
- {
|
|
|
- await TimeTracingSProxy.ReqGetMaxLevelInfo(TimeTracingDataManager._currentChapterId);
|
|
|
- await TimeTracingSProxy.ReqGetLevelRewardStatus();
|
|
|
- await TimeTracingSProxy.ReqGetSuitRewardStatus();
|
|
|
- }
|
|
|
InstanceZonesController.OnFinishStoryLevel(InstanceZonesDataManager.currentLevelCfgId, _resultData.FirstPass, true);
|
|
|
//尝试显示奖励
|
|
|
BonusController.TryShowBonusList(_resultData.BonusList);
|