cfgTable.d.ts 6.1 KB

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