123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- // Auto Generated Code By excel2json
- // Generate From Excel\EventConfig.xlsx. SheetName: EventLinkConfig
- using System;
- using Fort23.GameData;
- namespace Excel2Json
- {
- [Config(prefab = "EventLinkConfig.json")]
- public partial class EventLinkConfigHolder : ConfigHolder<EventLinkConfig>
{
- }
- [Serializable]
- public struct EventLinkConfig : IConfig
{
- public int GetID() {return ID;}
- /// <summary>
- ///条件ID
- /// </summary>
- public int ID;
- /// <summary>
- ///事件描述
- /// </summary>
- public int conciseEventMessage;
- /// <summary>
- ///文本语言表ID
- /// </summary>
- public int[] LanID;
- /// <summary>
- ///对话NPCID
- /// </summary>
- public int NPCID;
- /// <summary>
- ///条件判断类型
- /// </summary>
- public int ConditionType;
- /// <summary>
- ///条件判断值
- /// </summary>
- public int[] ConditionPara;
- /// <summary>
- ///条件完成次数or数量
- /// </summary>
- public int finishCount;
- /// <summary>
- ///步骤类型 1=提供选项 2=进入战斗 3=获得奖励 4=扣除道具
- /// </summary>
- public int optionType;
- /// <summary>
- ///事件常量1 1=事件IDs 2=战斗ID
- /// </summary>
- public int[] optionPara1;
- /// <summary>
- ///事件常量2 1=事件文本
- /// </summary>
- public int[] optionPara2;
- /// <summary>
- ///事件结局奖励
- /// </summary>
- public int[] PrizeIDs;
- /// <summary>
- ///事件结局奖励数量
- /// </summary>
- public int[] PrizeNums;
- /// <summary>
- ///事件结束类型 1:跳转步骤 2:根据战斗结果跳转步骤 3.触发新事件
- /// </summary>
- public int ResultType;
- /// <summary>
- ///事件结局后提供的选项 1.EventConditionId 2.胜利id;失败id 3.EventConfigId
- /// </summary>
- public int[] ResultOptions;
- }
- }
- // End of Auto Generated Code
|