|
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text;
|
|
using ET;
|
|
using ET;
|
|
|
|
+using FairyGUI;
|
|
|
|
|
|
namespace GFGGame
|
|
namespace GFGGame
|
|
{
|
|
{
|
|
@@ -61,7 +62,7 @@ namespace GFGGame
|
|
}
|
|
}
|
|
|
|
|
|
//完成剧情战斗关卡
|
|
//完成剧情战斗关卡
|
|
- public static async ETTask FinishStoryFightLevel(int levelCfgId, int score, int npcScore, bool useRecomend)
|
|
|
|
|
|
+ public static async ETTask FinishStoryFightLevel(int levelCfgId, int score, int npcScore, bool useRecomend, NTexture nTexture)
|
|
{
|
|
{
|
|
M2C_FinishInstanceZonesFightLevel response = null;
|
|
M2C_FinishInstanceZonesFightLevel response = null;
|
|
response = (M2C_FinishInstanceZonesFightLevel)await MessageHelper.SendToServer(new C2M_FinishInstanceZonesFightLevel()
|
|
response = (M2C_FinishInstanceZonesFightLevel)await MessageHelper.SendToServer(new C2M_FinishInstanceZonesFightLevel()
|
|
@@ -95,14 +96,14 @@ namespace GFGGame
|
|
isFirstFinish = true;
|
|
isFirstFinish = true;
|
|
}
|
|
}
|
|
InstanceZonesDataManager.TrySetLevelPass(response.LevelCfgId);
|
|
InstanceZonesDataManager.TrySetLevelPass(response.LevelCfgId);
|
|
- ViewManager.Show(ViewName.STORY_FIGHT_RESULT_VIEW, new StoryFightResultData
|
|
|
|
|
|
+ ViewManager.Show(ViewName.STORY_FIGHT_RESULT_VIEW, new object[] {new StoryFightResultData
|
|
{
|
|
{
|
|
Result = true,
|
|
Result = true,
|
|
Score = response.Score,
|
|
Score = response.Score,
|
|
FirstPass = response.HasOnceBonus,
|
|
FirstPass = response.HasOnceBonus,
|
|
Star = response.Star,
|
|
Star = response.Star,
|
|
BonusList = bonusList
|
|
BonusList = bonusList
|
|
- }, null, true);
|
|
|
|
|
|
+ },nTexture}, null, true);
|
|
if (response.HasOnceBonus)
|
|
if (response.HasOnceBonus)
|
|
{
|
|
{
|
|
FunctionOpenDataManager.Instance.CheckHasChapterFunOpen(response.LevelCfgId);
|
|
FunctionOpenDataManager.Instance.CheckHasChapterFunOpen(response.LevelCfgId);
|