1
0

cfgTable.d.ts 6.7 KB

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