EventLinkConfig.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // Auto Generated Code By excel2json
  2. // Generate From Excel\EventConfig.xlsx. SheetName: EventLinkConfig
  3. using System;
  4. using Fort23.GameData;
  5. namespace Excel2Json
  6. {
  7. [Config(prefab = "EventLinkConfig.json")]
  8. public partial class EventLinkConfigHolder : ConfigHolder<EventLinkConfig> {
  9. }
  10. [Serializable]
  11. public struct EventLinkConfig : IConfig {
  12. public int GetID() {return ID;}
  13. /// <summary>
  14. ///条件ID
  15. /// </summary>
  16. public int ID;
  17. /// <summary>
  18. ///事件描述
  19. /// </summary>
  20. public int conciseEventMessage;
  21. /// <summary>
  22. ///文本语言表ID
  23. /// </summary>
  24. public int[] LanID;
  25. /// <summary>
  26. ///对话NPCID
  27. /// </summary>
  28. public int NPCID;
  29. /// <summary>
  30. ///条件判断类型
  31. /// </summary>
  32. public int ConditionType;
  33. /// <summary>
  34. ///条件判断值
  35. /// </summary>
  36. public int[] ConditionPara;
  37. /// <summary>
  38. ///条件完成次数or数量
  39. /// </summary>
  40. public int finishCount;
  41. /// <summary>
  42. ///步骤类型 1=提供选项 2=进入战斗 3=获得奖励 4=扣除道具
  43. /// </summary>
  44. public int optionType;
  45. /// <summary>
  46. ///事件常量1 1=事件IDs 2=战斗ID
  47. /// </summary>
  48. public int[] optionPara1;
  49. /// <summary>
  50. ///事件常量2 1=事件文本
  51. /// </summary>
  52. public int[] optionPara2;
  53. /// <summary>
  54. ///事件结局奖励
  55. /// </summary>
  56. public int[] PrizeIDs;
  57. /// <summary>
  58. ///事件结局奖励数量
  59. /// </summary>
  60. public int[] PrizeNums;
  61. /// <summary>
  62. ///事件结束类型 1:跳转步骤 2:根据战斗结果跳转步骤 3.触发新事件
  63. /// </summary>
  64. public int ResultType;
  65. /// <summary>
  66. ///事件结局后提供的选项 1.EventConditionId 2.胜利id;失败id 3.EventConfigId
  67. /// </summary>
  68. public int[] ResultOptions;
  69. }
  70. }
  71. // End of Auto Generated Code