EventLinkConfig.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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. #if !COMBAT_SERVER
  17. public int ID;
  18. #else
  19. public int ID{ set; get; }
  20. #endif
  21. /// <summary>
  22. ///任务列表中的简洁描述
  23. /// </summary>
  24. #if !COMBAT_SERVER
  25. public int conciseEventMessage;
  26. #else
  27. public int conciseEventMessage{ set; get; }
  28. #endif
  29. /// <summary>
  30. ///无任务目标时的补充文本
  31. /// </summary>
  32. #if !COMBAT_SERVER
  33. public int EventConditionMessage;
  34. #else
  35. public int EventConditionMessage{ set; get; }
  36. #endif
  37. /// <summary>
  38. ///前置表现 1飞行
  39. /// </summary>
  40. #if !COMBAT_SERVER
  41. public int PreShow;
  42. #else
  43. public int PreShow{ set; get; }
  44. #endif
  45. /// <summary>
  46. ///前置表现参数
  47. /// </summary>
  48. #if !COMBAT_SERVER
  49. public int PreShowPar;
  50. #else
  51. public int PreShowPar{ set; get; }
  52. #endif
  53. /// <summary>
  54. ///对话NPCID
  55. /// </summary>
  56. #if !COMBAT_SERVER
  57. public int NPCID;
  58. #else
  59. public int NPCID{ set; get; }
  60. #endif
  61. /// <summary>
  62. ///对话
  63. /// </summary>
  64. #if !COMBAT_SERVER
  65. public int[] LanID;
  66. #else
  67. public int[] LanID{ set; get; }
  68. #endif
  69. /// <summary>
  70. ///对话框类型
  71. /// </summary>
  72. #if !COMBAT_SERVER
  73. public int DialogueType;
  74. #else
  75. public int DialogueType{ set; get; }
  76. #endif
  77. /// <summary>
  78. ///属于哪个事件
  79. /// </summary>
  80. #if !COMBAT_SERVER
  81. public int EventID;
  82. #else
  83. public int EventID{ set; get; }
  84. #endif
  85. /// <summary>
  86. ///条件判断类型
  87. /// </summary>
  88. #if !COMBAT_SERVER
  89. public int[] ConditionId;
  90. #else
  91. public int[] ConditionId{ set; get; }
  92. #endif
  93. /// <summary>
  94. ///步骤类型 1=提供选项 2=进入战斗 5=自动退出 3=获得奖励 4=扣除道具
  95. /// </summary>
  96. #if !COMBAT_SERVER
  97. public int optionType;
  98. #else
  99. public int optionType{ set; get; }
  100. #endif
  101. /// <summary>
  102. ///事件常量1 1=步骤IDs 2=战斗ID
  103. /// </summary>
  104. #if !COMBAT_SERVER
  105. public int[] optionPara1;
  106. #else
  107. public int[] optionPara1{ set; get; }
  108. #endif
  109. /// <summary>
  110. ///事件常量2 1=事件文本
  111. /// </summary>
  112. #if !COMBAT_SERVER
  113. public int[] optionPara2;
  114. #else
  115. public int[] optionPara2{ set; get; }
  116. #endif
  117. /// <summary>
  118. ///事件结局奖励
  119. /// </summary>
  120. #if !COMBAT_SERVER
  121. public int[] PrizeIDs;
  122. #else
  123. public int[] PrizeIDs{ set; get; }
  124. #endif
  125. /// <summary>
  126. ///事件结局奖励数量
  127. /// </summary>
  128. #if !COMBAT_SERVER
  129. public int[] PrizeNums;
  130. #else
  131. public int[] PrizeNums{ set; get; }
  132. #endif
  133. /// <summary>
  134. ///事件结束类型 1:跳转步骤 2:根据战斗结果跳转 3.触发新事件
  135. /// </summary>
  136. #if !COMBAT_SERVER
  137. public int ResultType;
  138. #else
  139. public int ResultType{ set; get; }
  140. #endif
  141. /// <summary>
  142. ///事件结局后提供的选项 1.EventLinkId 2.胜利id;失败id 3.EventConfigId
  143. /// </summary>
  144. #if !COMBAT_SERVER
  145. public int[] ResultOptions;
  146. #else
  147. public int[] ResultOptions{ set; get; }
  148. #endif
  149. }
  150. }
  151. // End of Auto Generated Code