1
0

cfgTable.d.ts 6.5 KB

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