cfgTable.d.ts 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. /*
  2. **************************
  3. *
  4. *说明:配置文件类型描述文件
  5. *作者:xxj
  6. *版本:v1.0
  7. *
  8. **************************
  9. */
  10. declare namespace cfgTable
  11. {
  12. //aiskill表的数据结构体
  13. export class aiskill{
  14. //连胜累积次数
  15. readonly victorynum:number;
  16. //技能选择
  17. readonly skillselect:string[];
  18. //技能等级
  19. readonly skilllevel:number[];
  20. }
  21. //aiskill表数据
  22. export const aiskillData:{ [key:number]: aiskill };
  23. //ballrod表的数据结构体
  24. export class ballrod{
  25. //序号
  26. readonly id:number;
  27. //球杆名称
  28. readonly name:string;
  29. //价格
  30. readonly price:number;
  31. //品级描述
  32. readonly describe:string;
  33. //品级
  34. readonly quality:number;
  35. //图标名称
  36. readonly img:string;
  37. //spine名称
  38. readonly spine:string;
  39. //增加所有技能等级
  40. readonly skillLevel:number;
  41. //排列顺序
  42. readonly sort:number;
  43. }
  44. //ballrod表数据
  45. export const ballrodData:{ [key:number]: ballrod };
  46. //bigmove表的数据结构体
  47. export class bigmove{
  48. //关卡
  49. readonly level:number;
  50. //成功分数
  51. readonly target:number;
  52. }
  53. //bigmove表数据
  54. export const bigmoveData:{ [key:number]: bigmove };
  55. //classictimes表的数据结构体
  56. export class classictimes{
  57. //序号
  58. readonly id:number;
  59. //段位名称
  60. readonly name:string;
  61. //胜利场次
  62. readonly times:number;
  63. }
  64. //classictimes表数据
  65. export const classictimesData:{ [key:number]: classictimes };
  66. //draw表的数据结构体
  67. export class draw{
  68. //序号
  69. readonly id:number;
  70. //图标
  71. readonly icon:string;
  72. //奖励类型
  73. readonly award:number;
  74. //奖励数目
  75. readonly num:number;
  76. //权重
  77. readonly weight:number;
  78. //获得次数
  79. readonly times:number;
  80. //替代物品
  81. readonly nextid:string[];
  82. //旋转角度
  83. readonly rotation:number;
  84. }
  85. //draw表数据
  86. export const drawData:{ [key:number]: draw };
  87. //emotion表的数据结构体
  88. export class emotion{
  89. //序号
  90. readonly id:number;
  91. //对话内容
  92. readonly icon:string;
  93. //spine名称
  94. readonly spine:string;
  95. }
  96. //emotion表数据
  97. export const emotionData:{ [key:number]: emotion };
  98. //modeselect表的数据结构体
  99. export class modeselect{
  100. //序号
  101. readonly id:number;
  102. //入场费
  103. readonly need:number;
  104. //奖励
  105. readonly award:number;
  106. //ai等级
  107. readonly aiLevel:number[];
  108. }
  109. //modeselect表数据
  110. export const modeselectData:{ [key:number]: modeselect };
  111. //money表的数据结构体
  112. export class money{
  113. //序号
  114. readonly id:number;
  115. //金币或者钻石
  116. readonly type:string;
  117. //获取途径
  118. readonly get:string;
  119. //获得数目
  120. readonly num:number;
  121. }
  122. //money表数据
  123. export const moneyData:{ [key:number]: money };
  124. //placeball表的数据结构体
  125. export class placeball{
  126. //序号
  127. readonly id:number;
  128. //类型(普通模式,挑战模式)
  129. readonly type:number;
  130. //挑战模式通关进球数
  131. readonly ball:number;
  132. //生命值
  133. readonly hp:number;
  134. //三星奖励
  135. readonly award:number[];
  136. }
  137. //placeball表数据
  138. export const placeballData:{ [key:number]: placeball };
  139. //secretary表的数据结构体
  140. export class secretary{
  141. //序号
  142. readonly id:number;
  143. //对话内容
  144. readonly msg:string;
  145. }
  146. //secretary表数据
  147. export const secretaryData:{ [key:number]: secretary };
  148. //secretaryshop表的数据结构体
  149. export class secretaryshop{
  150. //序号
  151. readonly id:number;
  152. //名字
  153. readonly name:string;
  154. //身高
  155. readonly height:string;
  156. //喜欢的食物
  157. readonly food:string;
  158. //背景故事
  159. readonly history:string;
  160. //购买价格
  161. readonly price:number;
  162. //名字图片
  163. readonly nameImg:string;
  164. //spine名字
  165. readonly spine:string;
  166. }
  167. //secretaryshop表数据
  168. export const secretaryshopData:{ [key:number]: secretaryshop };
  169. //sign表的数据结构体
  170. export class sign{
  171. //序号
  172. readonly id:number;
  173. //图标
  174. readonly icon:string[];
  175. //标题
  176. readonly title:string;
  177. //奖励
  178. readonly award:string[];
  179. }
  180. //sign表数据
  181. export const signData:{ [key:number]: sign };
  182. //talkwords表的数据结构体
  183. export class talkwords{
  184. //序号
  185. readonly id:number;
  186. //对话内容
  187. readonly msg:string;
  188. }
  189. //talkwords表数据
  190. export const talkwordsData:{ [key:number]: talkwords };
  191. //words表的数据结构体
  192. export class words{
  193. //序号
  194. readonly id:number;
  195. //对话内容
  196. readonly msg:string;
  197. }
  198. //words表数据
  199. export const wordsData:{ [key:number]: words };
  200. }