cfgTable.d.ts 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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. //readonly zuanShiCount:number;
  67. }
  68. //道具购买
  69. export const daoJuData: { [key: number]: daoJu };
  70. //bigmove表的数据结构体
  71. export class bigmove {
  72. //关卡
  73. readonly level: number;
  74. //成功分数
  75. readonly target: number;
  76. }
  77. //bigmove表数据
  78. export const bigmoveData: { [key: number]: bigmove };
  79. //classictimes表的数据结构体
  80. export class classictimes {
  81. //序号
  82. readonly id: number;
  83. //段位名称
  84. readonly name: string;
  85. //胜利场次
  86. readonly times: number;
  87. }
  88. //classictimes表数据
  89. export const classictimesData: { [key: number]: classictimes };
  90. //draw表的数据结构体
  91. export class draw {
  92. //序号
  93. readonly id: number;
  94. //图标
  95. readonly icon: string;
  96. //奖励类型
  97. readonly award: number;
  98. //奖励数目
  99. readonly num: number;
  100. //权重
  101. readonly weight: number;
  102. //获得次数
  103. readonly times: number;
  104. //替代物品
  105. readonly nextid: string[];
  106. //旋转角度
  107. readonly rotation: number;
  108. }
  109. //draw表数据
  110. export const drawData: { [key: number]: draw };
  111. //emotion表的数据结构体
  112. export class emotion {
  113. //序号
  114. readonly id: number;
  115. //对话内容
  116. readonly icon: string;
  117. //spine名称
  118. readonly spine: string;
  119. }
  120. //emotion表数据
  121. export const emotionData: { [key: number]: emotion };
  122. //modeselect表的数据结构体
  123. export class modeselect {
  124. //序号
  125. readonly id: number;
  126. //入场费
  127. readonly need: number;
  128. //奖励
  129. readonly award: number;
  130. //ai等级
  131. readonly aiLevel: number[];
  132. }
  133. //modeselect表数据
  134. export const modeselectData: { [key: number]: modeselect };
  135. //money表的数据结构体
  136. export class money {
  137. //序号
  138. readonly id: number;
  139. //金币或者钻石
  140. readonly type: string;
  141. //获取途径
  142. readonly get: string;
  143. //获得数目
  144. readonly num: number;
  145. }
  146. //money表数据
  147. export const moneyData: { [key: number]: money };
  148. //placeball表的数据结构体
  149. export class placeball {
  150. //序号
  151. readonly id: number;
  152. //类型(普通模式,挑战模式)
  153. readonly type: number;
  154. //挑战模式通关进球数
  155. readonly ball: number;
  156. //生命值
  157. readonly hp: number;
  158. //三星奖励
  159. readonly award: number[];
  160. }
  161. //placeball表数据
  162. export const placeballData: { [key: number]: placeball };
  163. //secretary表的数据结构体
  164. export class secretary {
  165. //序号
  166. readonly id: number;
  167. //对话内容
  168. readonly msg: string;
  169. }
  170. //secretary表数据
  171. export const secretaryData: { [key: number]: secretary };
  172. //secretaryshop表的数据结构体
  173. export class secretaryshop {
  174. //序号
  175. readonly id: number;
  176. //名字
  177. readonly name: string;
  178. //身高
  179. readonly height: string;
  180. //喜欢的食物
  181. readonly food: string;
  182. //背景故事
  183. readonly history: string;
  184. //购买价格
  185. readonly price: number;
  186. //名字图片
  187. readonly nameImg: string;
  188. //spine名字
  189. readonly spine: string;
  190. }
  191. //secretaryshop表数据
  192. export const secretaryshopData: { [key: number]: secretaryshop };
  193. //sign表的数据结构体
  194. export class sign {
  195. //序号
  196. readonly id: number;
  197. //图标
  198. readonly icon: string[];
  199. //标题
  200. readonly title: string;
  201. //奖励
  202. readonly award: string[];
  203. }
  204. //sign表数据
  205. export const signData: { [key: number]: sign };
  206. //talkwords表的数据结构体
  207. export class talkwords {
  208. //序号
  209. readonly id: number;
  210. //对话内容
  211. readonly msg: string;
  212. }
  213. //talkwords表数据
  214. export const talkwordsData: { [key: number]: talkwords };
  215. //words表的数据结构体
  216. export class words {
  217. //序号
  218. readonly id: number;
  219. //对话内容
  220. readonly msg: string;
  221. }
  222. //words表数据
  223. export const wordsData: { [key: number]: words };
  224. /**
  225. * 排行榜条目数据结构
  226. */
  227. export class PaiHangBang {
  228. // 排名分数
  229. readonly rankScore: string;
  230. // 用户ID
  231. readonly userId: string;
  232. // 用户信息字符串(需解析为对象)
  233. readonly userData: string;
  234. }
  235. /**
  236. * 排行榜整体数据结构
  237. */
  238. export interface PaiHangBangData {
  239. // 排行榜列表
  240. readonly list: PaiHangBang[];
  241. // 上一次得分
  242. readonly lastScore: string;
  243. // 排行榜类型
  244. readonly type: string;
  245. // 排名ID
  246. readonly rankId: string;
  247. }
  248. /**
  249. * 排行榜数据常量
  250. */
  251. export const paiHangBangData: PaiHangBangData;
  252. //cfgTable.paiHangBangData
  253. }