|
@@ -1,4 +1,5 @@
|
|
|
using ET;
|
|
|
+using FairyGUI;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
@@ -55,7 +56,7 @@ namespace GFGGame
|
|
|
|
|
|
|
|
|
|
|
|
- public static async ETTask CheckStoryFightResult()
|
|
|
+ public static async ETTask CheckStoryFightResult(NTexture nTexture)
|
|
|
{
|
|
|
StoryLevelCfg storyLevelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId);
|
|
|
if (storyLevelCfg.type == ConstInstanceZonesType.Studio && storyLevelCfg.subType == ConstInstanceZonesSubType.Hard3)
|
|
@@ -70,17 +71,17 @@ namespace GFGGame
|
|
|
var success = InstanceZonesDataManager.GetFightResult(score, out var npcScore);
|
|
|
if (success)
|
|
|
{
|
|
|
- await InstanceZonesSProxy.FinishStoryFightLevel(InstanceZonesDataManager.currentLevelCfgId, score, npcScore, InstanceZonesDataManager.usedRecommend);
|
|
|
+ await InstanceZonesSProxy.FinishStoryFightLevel(InstanceZonesDataManager.currentLevelCfgId, score, npcScore, InstanceZonesDataManager.usedRecommend,nTexture);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- ViewManager.Show(ViewName.STORY_FIGHT_RESULT_VIEW, new StoryFightResultData
|
|
|
+ ViewManager.Show(ViewName.STORY_FIGHT_RESULT_VIEW, new object[]{ new StoryFightResultData
|
|
|
{
|
|
|
Result = false,
|
|
|
Score = score,
|
|
|
FirstPass = false,
|
|
|
Star = 0
|
|
|
- }, null, true);
|
|
|
+ },nTexture}, null, true);
|
|
|
//失败仅判断并更新最高分
|
|
|
if (score > InstanceZonesDataManager.GetScoreHighest(InstanceZonesDataManager.currentCardId))
|
|
|
{
|