builtin.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <module name="">
  2. <bean name="ItemParam" valueType="1" sep="*">
  3. <var name="ItemId" type="int" />
  4. <var name="Count" type="int" />
  5. </bean>
  6. <bean name="SubTabParam" valueType="1" sep="*">
  7. <var name="Name" type="string" />
  8. <var name="Num" type="int" />
  9. <var name="View" type="string" />
  10. </bean>
  11. <bean name="TagsParam" valueType="1" sep="*">
  12. <var name="Name" type="string" />
  13. <var name="Val" type="int" />
  14. </bean>
  15. <bean name="PositionsParam" valueType="1" sep="*">
  16. <var name="Key" type="int" />
  17. <var name="Val" type="int" />
  18. </bean>
  19. <bean name="vector2" valueType="1" sep=",">
  20. <var name="x" type="float" />
  21. <var name="y" type="float" />
  22. </bean>
  23. <bean name="vector3" valueType="1" sep=",">
  24. <var name="x" type="float" />
  25. <var name="y" type="float" />
  26. <var name="z" type="float" />
  27. </bean>
  28. <bean name="vector4" valueType="1" sep=",">
  29. <var name="x" type="float" />
  30. <var name="y" type="float" />
  31. <var name="z" type="float" />
  32. <var name="w" type="float" />
  33. </bean>
  34. <enum name="ITEM_TYPE" comment="物品类型">
  35. <var name="UNDEFINED" alias="空物" comment="空虚" value="0" />
  36. <var name="WOOD" alias="木头" value="101" />
  37. <var name="ROCK" alias="石头" value="102" />
  38. <var name="GRAIN" alias="麦子" value="100" />
  39. <var name="IRON" alias="铁矿" value="103" />
  40. <var name="CIVILIAN" alias="平民" value="104" />
  41. <var name="WOODEN_PLANK" alias="木板" value="201" />
  42. <var name="BRICK" alias="砖头" value="202" />
  43. <var name="BREAD" alias="包子" value="200" />
  44. <var name="NAILS" alias="铁锭" value="203" />
  45. <var name="SOLDIER" alias="士兵" value="204" />
  46. <var name="COPPER_COIN" alias="铜钱" value="50" />
  47. <var name="SECURITY" alias="治安值" value="51" />
  48. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  49. <option name="type" value="BillItem.BILL_TYPE" />
  50. </mapper>
  51. </enum>
  52. <enum name="SoldierType" comment="兵种类型">
  53. <var name="Shield" alias="盾兵" value="1" />
  54. <var name="Archer" alias="弓兵" value="2" />
  55. <var name="Spear" alias="长枪兵" value="3" />
  56. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  57. <option name="type" value="SoldierType" />
  58. </mapper>
  59. </enum>
  60. <enum name="PVEBattleType" comment="PVE战斗类型">
  61. <var name="MainThread" alias="主线战斗" value="1" />
  62. <var name="DaleBattle" alias="城建战斗" value="2" />
  63. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  64. <option name="type" value="PVEBattleType" />
  65. </mapper>
  66. </enum>
  67. <bean name="FormulaItem" sep=",">
  68. <var name="materialType" type="ITEM_TYPE" />
  69. <var name="materialAmount" type="int" />
  70. </bean>
  71. <bean name="ItemBundle" valueType="1" sep=",">
  72. <var name="item_type" type="ITEM_TYPE" />
  73. <var name="amount" type="int" />
  74. </bean>
  75. <bean name="Productivity" valueType="0">
  76. <var name="tick_time" type="float" />
  77. <var name="amount" type="int" />
  78. </bean>
  79. <bean name="ResourcePath">
  80. <var name="package" type="string" />
  81. <var name="location" type="string" />
  82. </bean>
  83. <bean name="BuffCoefficientModel" valueType="0">
  84. <var name="DamageCoefficient1" type="double?" />
  85. <var name="DamageCoefficient2" type="double?" />
  86. <var name="DamageCoefficient3" type="double?" />
  87. <var name="TreatmentCoefficient1" type="double?" />
  88. <var name="TreatmentCoefficient2" type="double?" />
  89. <var name="TreatmentCoefficient3" type="double?" />
  90. <var name="BuffCoefficient1" type="double?" />
  91. <var name="BuffCoefficient2" type="double?" />
  92. <var name="BuffCoefficient3" type="double?" />
  93. </bean>
  94. <bean name="CampBuffParam" valueType="0">
  95. <var name="HitProbability" type="int?" />
  96. <var name="Buff1" type="int?" />
  97. </bean>
  98. <bean name="SkillParam" valueType="1" sep=",">
  99. <var name="SkillId" type="int" />
  100. <var name="SkillLevel" type="int" />
  101. </bean>
  102. <bean name="ScienceParam" valueType="1" sep=",">
  103. <var name="ScienceId" type="int" />
  104. <var name="level" type="int" />
  105. </bean>
  106. <bean name="ShopGoodsParam" valueType="1" sep=",">
  107. <var name="ItemId" type="int" />
  108. <var name="Count" type="int" />
  109. <var name="CostItemId" type="int" />
  110. <var name="CostCount" type="int" />
  111. <var name="Limit" type="int" />
  112. <var name="Discount" type="int" />
  113. <var name="Weight" type="int" />
  114. </bean>
  115. <bean name="SameAscensionMaterialParam" valueType="1" sep="*">
  116. <var name="Star" type="int" />
  117. <var name="Count" type="int" />
  118. </bean>
  119. <bean name="AscensionMaterialParam" valueType="1" sep="*">
  120. <var name="Star" type="int" />
  121. <var name="IsSameCamp" type="int" />
  122. <var name="Count" type="int" />
  123. </bean>
  124. <bean name="TempPoolParam" valueType="1" sep=",">
  125. <var name="GeneralCfgId" type="int" />
  126. <var name="Level" type="int" />
  127. <var name="Star" type="int" />
  128. </bean>
  129. <bean name="BuffFunctors" valueType="1" tags="System=1#System.Collections=1">
  130. <var name="id" type="int" />
  131. <var name="on_round_start" type="string?" tags="functor" />
  132. <var name="on_round_end" type="string?" tags="functor" />
  133. <var name="on_action_start" type="string?" tags="functor" />
  134. <var name="on_battle_start" type="string?" tags="functor" />
  135. <var name="on_action_end" type="string?" tags="functor" />
  136. <var name="on_sel_execute_after" type="string?" tags="functor" />
  137. <var name="on_active_skill_before" type="string?" tags="functor" />
  138. <var name="on_active_skill_after" type="string?" tags="functor" />
  139. <var name="on_active_skill_successfully_before" type="string?" tags="functor" />
  140. <var name="on_active_skill_successfully_after" type="string?" tags="functor" />
  141. <var name="on_active_skill_received_before" type="string?" tags="functor" />
  142. <var name="on_active_skill_received_after" type="string?" tags="functor" />
  143. <var name="on_normal_attack_before" type="string?" tags="functor" />
  144. <var name="on_normal_attack_after" type="string?" tags="functor" />
  145. <var name="on_normal_attack_received_before" type="string?" tags="functor" />
  146. <var name="on_normal_attack_received_after" type="string?" tags="functor" />
  147. <var name="on_chase_skill_before" type="string?" tags="functor" />
  148. <var name="on_chase_skill_after" type="string?" tags="functor" />
  149. <var name="on_status_applied_before" type="string?" tags="functor" />
  150. <var name="on_status_applied_after" type="string?" tags="functor" />
  151. <var name="on_damage_before" type="string?" tags="functor" />
  152. <var name="on_damage_after" type="string?" tags="functor" />
  153. <var name="on_healing_before" type="string?" tags="functor" />
  154. <var name="on_healing_after" type="string?" tags="functor" />
  155. <var name="on_attack_before" type="string?" tags="functor" />
  156. <var name="on_attack_after" type="string?" tags="functor" />
  157. <var name="on_status_received_before" type="string?" tags="functor" />
  158. <var name="on_status_received_after" type="string?" tags="functor" />
  159. <var name="on_damage_received_before" type="string?" tags="functor" />
  160. <var name="on_damage_received_after" type="string?" tags="functor" />
  161. <var name="on_healing_received_before" type="string?" tags="functor" />
  162. <var name="on_healing_received_after" type="string?" tags="functor" />
  163. <var name="on_target_attacked_before" type="string?" tags="functor" />
  164. <var name="on_target_attacked_after" type="string?" tags="functor" />
  165. <var name="on_counterattack_after" type="string?" tags="functor" />
  166. <var name="on_counterattack_received_after" type="string?" tags="functor" />
  167. </bean>
  168. <enum name="BuffType" comment="buff类型">
  169. <var name="普通状态" alias="普通状态0" value="0" />
  170. <var name="异常状态" alias="异常状态1" value="1" />
  171. <var name="增益状态" alias="增益状态2" value="2" />
  172. <var name="负面状态" alias="负面状态3" value="3" />
  173. <var name="控制状态" alias="控制状态4" value="4" />
  174. </enum>
  175. <enum name="OverlayType" comment="BUFF叠加类型">
  176. <var name="独立" alias="独立0" value="0" />
  177. <var name="叠加" alias="叠加1" value="1" />
  178. <var name="顶替" alias="顶替2" value="2" />
  179. </enum>
  180. <bean name="GeneralLvlStarParam" sep=",">
  181. <var name="GeneralCfgId" type="int" />
  182. <var name="Level" type="int" />
  183. <var name="Star" type="int" />
  184. </bean>
  185. <enum name="GeneralNumericType" comment="武将属性">
  186. <var name="Strength" value="1"/>
  187. <var name="Intelligence" value="2"/>
  188. <var name="Command" value="3"/>
  189. <var name="Initiative" value="4"/>
  190. </enum>
  191. <enum name="ItemTypeEnum" comment="兵种类型">
  192. <var name="HuoBi" alias="货币" value="1" />
  193. <var name="ZiYuan" alias="资源" value="2" />
  194. <var name="DaoJu" alias="道具" value="3" />
  195. <var name="BaoXiang" alias="宝箱" value="4" />
  196. <var name="WuJiang" alias="武将" value="5" />
  197. <var name="WuJiangSuiPian" alias="武将碎片" value="6" />
  198. <var name="GongNeng" alias="功能" value="7" />
  199. <var name="OpenTreasureBox" alias="开箱子宝箱" value="8" />
  200. <var name="ResourceFortress" alias="资源田" value="9" />
  201. <var name="SkillBook" alias="技能书" value="10" />
  202. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  203. <option name="type" value="ItemTypeEnum" />
  204. </mapper>
  205. </enum>
  206. <enum name="DropItemTypeEnum" comment="掉落表item定义类型">
  207. <var name="IsDropId" alias="掉落id" value="1" />
  208. <var name="IsItemId" alias="道具id" value="2" />
  209. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  210. <option name="type" value="DropItemTypeEnum" />
  211. </mapper>
  212. </enum>
  213. <enum name="ResourceFortressType" comment="资源田生产类型">
  214. <var name="FoodProduction" alias="生产饭团" value="1" />
  215. <var name="WoodProduction" alias="生产木板" value="2" />
  216. <var name="BrickProduction" alias="生产砖块" value="3" />
  217. <var name="IronProduction" alias="生产铁锭" value="4" />
  218. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  219. <option name="type" value="ResourceFortressType" />
  220. </mapper>
  221. </enum>
  222. <enum name="BattleSkillType" comment="技能类型">
  223. <var name="其他" alias="其他0" value="0" />
  224. <var name="主动" alias="主动1" value="1" />
  225. <var name="被动" alias="被动2" value="2" />
  226. <var name="指挥" alias="指挥3" value="3" />
  227. <var name="追击" alias="追击4" value="4" />
  228. <var name="全部" alias="全部99" value="99" />
  229. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  230. <option name="type" value="BattleSkillType" />
  231. </mapper>
  232. </enum>
  233. <enum name="FitType" comment="技能穿戴类型">
  234. <var name="ComesWith" alias="自带" value="0" />
  235. <var name="ArtificiallyWorn" alias="装配" value="1" />
  236. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  237. <option name="type" value="FitType" />
  238. </mapper>
  239. </enum>
  240. <enum name="GatherType" comment="采集表现形式">
  241. <var name="gather" alias="一个接一个采集" value="0"/>
  242. <var name="qigong" alias="气功" value="1"/>
  243. </enum>
  244. <enum name="UnlockTypeEnum" comment="解锁类型">
  245. <var name="ToRole" alias="直接获得" value="1" />
  246. <var name="Level" alias="达到等级" value="2" />
  247. <var name="Task" alias="完成任务" value="3" />
  248. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  249. <option name="type" value="UnlockTypeEnum" />
  250. </mapper>
  251. </enum>
  252. <enum name="ValTypeEnum" comment="值类型">
  253. <var name="INT" alias="int类型" value="1" />
  254. <var name="BOOL" alias="bool类型" value="2" />
  255. <mapper target="client" codeTarget="cs-bin,cs-simple-json,cs-newtonsoft-json,cs-dotnet-json">
  256. <option name="type" value="ValTypeEnum" />
  257. </mapper>
  258. </enum>
  259. </module>