cfgTable.d.ts 6.7 KB

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