From f5a30bfc9b74cd0185334fd45b5c27c93742576f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 31 十二月 2024 17:04:42 +0800
Subject: [PATCH] 10331 【越南】【英语】【BT】【砍树】境界修改 - 临时同步
---
Core/GameEngine/Model/Config/RealmLVUPTaskConfig.cs | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/Core/GameEngine/Model/Config/RealmLVUPTaskConfig.cs b/Core/GameEngine/Model/Config/RealmLVUPTaskConfig.cs
index cb49ced..49ff507 100644
--- a/Core/GameEngine/Model/Config/RealmLVUPTaskConfig.cs
+++ b/Core/GameEngine/Model/Config/RealmLVUPTaskConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: Fish
-// [ Date ]: 2024骞�12鏈�16鏃�
+// [ Date ]: 2024骞�12鏈�30鏃�
//--------------------------------------------------------
using System.Collections.Generic;
@@ -13,11 +13,12 @@
public partial class RealmLVUPTaskConfig
{
- public readonly int Lv;
+ public readonly int ID;
+ public readonly int Lv;
public readonly int TaskID;
public readonly int TaskType;
public readonly int[] NeedValueList;
- public readonly string AwardItemList;
+ public readonly int[][] AwardItemList;
public RealmLVUPTaskConfig()
{
@@ -29,19 +30,21 @@
{
var tables = input.Split('\t');
- int.TryParse(tables[0],out Lv);
+ int.TryParse(tables[0],out ID);
- int.TryParse(tables[1],out TaskID);
+ int.TryParse(tables[1],out Lv);
- int.TryParse(tables[2],out TaskType);
+ int.TryParse(tables[2],out TaskID);
- if (tables[3].Contains("["))
+ int.TryParse(tables[3],out TaskType);
+
+ if (tables[4].Contains("["))
{
- NeedValueList = JsonMapper.ToObject<int[]>(tables[3]);
+ NeedValueList = JsonMapper.ToObject<int[]>(tables[4]);
}
else
{
- string[] NeedValueListStringArray = tables[3].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
+ string[] NeedValueListStringArray = tables[4].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
NeedValueList = new int[NeedValueListStringArray.Length];
for (int i=0;i<NeedValueListStringArray.Length;i++)
{
@@ -49,7 +52,7 @@
}
}
- AwardItemList = tables[4];
+ AwardItemList = JsonMapper.ToObject<int[][]>(tables[5].Replace("(", "[").Replace(")", "]"));
}
catch (Exception ex)
{
--
Gitblit v1.8.0