|
@@ -1,100 +1,92 @@
|
|
|
-// Auto Generated Code By excel2json
|
|
|
-// Generate From Excel\EventConfig.xlsx. SheetName: EventConfig
|
|
|
+// Auto Generated Code By excel2json
|
|
|
+// Generate From Excel\EventConfig.xlsx. SheetName: EventConfig
|
|
|
|
|
|
-using System;
|
|
|
+using System;
|
|
|
using Fort23.GameData;
|
|
|
-
|
|
|
+
|
|
|
namespace Excel2Json
|
|
|
-{
|
|
|
- [Config(prefab = "EventConfig.json")]
|
|
|
- public partial class EventConfigHolder : ConfigHolder<EventConfig>
|
|
|
- {
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- [Serializable]
|
|
|
- public struct EventConfig : IConfig
|
|
|
- {
|
|
|
- public int GetID() {return ID;}
|
|
|
+{
|
|
|
+ [Config(prefab = "EventConfig.json")]
|
|
|
+ public partial class EventConfigHolder : ConfigHolder<EventConfig>
{
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ [Serializable]
|
|
|
+ public struct EventConfig : IConfig
{
|
|
|
+ public int GetID() {return ID;}
|
|
|
/// <summary>
|
|
|
///ID
|
|
|
/// </summary>
|
|
|
public int ID;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
- ///事件的起始ID
|
|
|
+ ///事件包含的ID
|
|
|
/// </summary>
|
|
|
public int[] EventLinksId;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///触发事件类型: 1.通用事件 2.挂机事件 4.主线任务 99.无标记事件
|
|
|
/// </summary>
|
|
|
public int EventTriggerType;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///tag 1主线 2支线 3通用 4地图通用 5道友
|
|
|
/// </summary>
|
|
|
public int EventTag;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///1.正常触发 2.直接结算
|
|
|
/// </summary>
|
|
|
public int EventType;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///增加进度值
|
|
|
/// </summary>
|
|
|
public int Score;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///事件品质
|
|
|
/// </summary>
|
|
|
public int EventQuality;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///触发条件类型 只能配处于什么状态和数值,不能配变化的数值
|
|
|
/// </summary>
|
|
|
-public int EventConditionId;
|
|
|
-
|
|
|
-
|
|
|
+public int[] EventConditionId;
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///触发效果值
|
|
|
/// </summary>
|
|
|
public int[] EventValue;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///触发判定数量or次数
|
|
|
/// </summary>
|
|
|
public int EventCount;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
///描述(题目)
|
|
|
/// </summary>
|
|
|
public int EventName;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
/// <summary>
|
|
|
- ///
|
|
|
+ ///事件主体描述
|
|
|
/// </summary>
|
|
|
public int Description;
|
|
|
-
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- ///特殊功能参数
|
|
|
- /// </summary>
|
|
|
-public int[] associateVlaue;
|
|
|
-
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
-}
|
|
|
-// End of Auto Generated Code
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+// End of Auto Generated Code
|