EventConfig.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. // Auto Generated Code By excel2json
  2. // Generate From Excel\EventConfig.xlsx. SheetName: EventConfig
  3. using System;
  4. using Fort23.GameData;
  5. namespace Excel2Json
  6. {
  7. [Config(prefab = "EventConfig.json")]
  8. public partial class EventConfigHolder : ConfigHolder<EventConfig> {
  9. }
  10. [Serializable]
  11. public struct EventConfig : 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. ///事件包含的ID
  23. /// </summary>
  24. #if !COMBAT_SERVER
  25. public int[] EventLinksId;
  26. #else
  27. public int[] EventLinksId{ set; get; }
  28. #endif
  29. /// <summary>
  30. ///事件类型: 1.通用事件 2.挂机事件 4.主线任务 5.仙山探险 6.支线事件 99.无标记
  31. /// </summary>
  32. #if !COMBAT_SERVER
  33. public int EventTriggerType;
  34. #else
  35. public int EventTriggerType{ set; get; }
  36. #endif
  37. /// <summary>
  38. ///tag 1主线2支线 3通用 4地图通用 5道友6任务 7资源
  39. /// </summary>
  40. #if !COMBAT_SERVER
  41. public int EventTag;
  42. #else
  43. public int EventTag{ set; get; }
  44. #endif
  45. /// <summary>
  46. ///1.正常触发 2.直接结算
  47. /// </summary>
  48. #if !COMBAT_SERVER
  49. public int EventType;
  50. #else
  51. public int EventType{ set; get; }
  52. #endif
  53. /// <summary>
  54. ///增加进度值
  55. /// </summary>
  56. #if !COMBAT_SERVER
  57. public int Score;
  58. #else
  59. public int Score{ set; get; }
  60. #endif
  61. /// <summary>
  62. ///事件品质
  63. /// </summary>
  64. #if !COMBAT_SERVER
  65. public int EventQuality;
  66. #else
  67. public int EventQuality{ set; get; }
  68. #endif
  69. /// <summary>
  70. ///产出tag 在辅助表查询
  71. /// </summary>
  72. #if !COMBAT_SERVER
  73. public int[] PrizeType;
  74. #else
  75. public int[] PrizeType{ set; get; }
  76. #endif
  77. /// <summary>
  78. ///事件结局奖励
  79. /// </summary>
  80. #if !COMBAT_SERVER
  81. public int[] PrizeIDs;
  82. #else
  83. public int[] PrizeIDs{ set; get; }
  84. #endif
  85. /// <summary>
  86. ///事件结局奖励数量
  87. /// </summary>
  88. #if !COMBAT_SERVER
  89. public int[] PrizeNums;
  90. #else
  91. public int[] PrizeNums{ set; get; }
  92. #endif
  93. /// <summary>
  94. ///刷新的概率 (100=100%)
  95. /// </summary>
  96. #if !COMBAT_SERVER
  97. public int RefreshProbability;
  98. #else
  99. public int RefreshProbability{ set; get; }
  100. #endif
  101. /// <summary>
  102. ///最大刷新数量
  103. /// </summary>
  104. #if !COMBAT_SERVER
  105. public int RefreshCount;
  106. #else
  107. public int RefreshCount{ set; get; }
  108. #endif
  109. /// <summary>
  110. ///属于哪张地图
  111. /// </summary>
  112. #if !COMBAT_SERVER
  113. public int placeID;
  114. #else
  115. public int placeID{ set; get; }
  116. #endif
  117. /// <summary>
  118. ///仙途日志ID
  119. /// </summary>
  120. #if !COMBAT_SERVER
  121. public int XiantuID;
  122. #else
  123. public int XiantuID{ set; get; }
  124. #endif
  125. /// <summary>
  126. ///触发条件类型 只能配处于什么状态和数值,不能配变化的数值
  127. /// </summary>
  128. #if !COMBAT_SERVER
  129. public int EventConditionId;
  130. #else
  131. public int EventConditionId{ set; get; }
  132. #endif
  133. /// <summary>
  134. ///触发效果值
  135. /// </summary>
  136. #if !COMBAT_SERVER
  137. public int[] EventValue;
  138. #else
  139. public int[] EventValue{ set; get; }
  140. #endif
  141. /// <summary>
  142. ///触发判定数量or次数
  143. /// </summary>
  144. #if !COMBAT_SERVER
  145. public int EventCount;
  146. #else
  147. public int EventCount{ set; get; }
  148. #endif
  149. /// <summary>
  150. ///任务标题
  151. /// </summary>
  152. #if !COMBAT_SERVER
  153. public int EventName;
  154. #else
  155. public int EventName{ set; get; }
  156. #endif
  157. /// <summary>
  158. ///任务详情界面的总描述
  159. /// </summary>
  160. #if !COMBAT_SERVER
  161. public int Description;
  162. #else
  163. public int Description{ set; get; }
  164. #endif
  165. }
  166. }
  167. // End of Auto Generated Code