|
@@ -1,88 +1,80 @@
|
|
|
-// Auto Generated Code By excel2json
|
|
|
-// Generate From Excel\EventConfig.xlsx. SheetName: EventConditionConfig
|
|
|
+// Auto Generated Code By excel2json
|
|
|
+// Generate From Excel\EventConfig.xlsx. SheetName: EventConditionConfig
|
|
|
|
|
|
-using System;
|
|
|
+using System;
|
|
|
using Fort23.GameData;
|
|
|
-
|
|
|
+
|
|
|
namespace Excel2Json
|
|
|
-{
|
|
|
- [Config(prefab = "EventConditionConfig.json")]
|
|
|
- public partial class EventConditionConfigHolder : ConfigHolder<EventConditionConfig>
|
|
|
- {
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- [Serializable]
|
|
|
- public struct EventConditionConfig : IConfig
|
|
|
- {
|
|
|
- public int GetID() {return ID;}
|
|
|
+{
|
|
|
+ [Config(prefab = "EventConditionConfig.json")]
|
|
|
+ public partial class EventConditionConfigHolder : ConfigHolder<EventConditionConfig>
{
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ [Serializable]
|
|
|
+ public struct EventConditionConfig : IConfig
{
|
|
|
+ public int GetID() {return ID;}
|
|
|
/// <summary>
|
|
|
///条件ID
|
|
|
/// </summary>
|
|
|
public int ID;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///文本语言表ID
|
|
|
/// </summary>
|
|
|
public int[] LanID;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///条件判断类型
|
|
|
/// </summary>
|
|
|
public int ConditionType;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///条件判断数值
|
|
|
/// </summary>
|
|
|
public int[] ConditionPara;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///事件类型 1=提供选项 2=进入战斗 3=获得奖励
|
|
|
/// </summary>
|
|
|
public int optionType;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///事件常量1 1=事件IDs 2=战斗ID 3=
|
|
|
/// </summary>
|
|
|
public int[] optionPara1;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///事件常量2 1=事件文本 2= 3=
|
|
|
/// </summary>
|
|
|
public int[] optionPara2;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///事件结局奖励
|
|
|
/// </summary>
|
|
|
public int[] PrizeIDs;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///事件结局奖励数量
|
|
|
/// </summary>
|
|
|
public int[] PrizeNums;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///事件结局后提供的选项
|
|
|
/// </summary>
|
|
|
-public int[] ResultOptions;
|
|
|
-
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- ///事件结局文本
|
|
|
- /// </summary>
|
|
|
-public int[] ResultLanID;
|
|
|
-
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
-}
|
|
|
-// End of Auto Generated Code
|
|
|
+public int ResultOptions;
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+// End of Auto Generated Code
|