123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- /*
- **************************
- *
- *说明:配置文件类型描述文件
- *作者:xxj
- *版本:v1.0
- *
- **************************
- */
- declare namespace cfgTable {
- //aiskill表的数据结构体
- export class aiskill {
- //连胜累积次数
- readonly victorynum: number;
- //技能选择
- readonly skillselect: string[];
- //技能等级
- readonly skilllevel: number[];
- }
- //aiskill表数据
- export const aiskillData: { [key: number]: aiskill };
- //ballrod表的数据结构体
- export class ballrod {
- //序号
- readonly id: number;
- //球杆名称
- readonly name: string;
- //价格
- readonly price: number;
- //品级描述
- readonly describe: string;
- //品级
- readonly quality: number;
- //图标名称
- readonly img: string;
- //spine名称
- readonly spine: string;
- //增加所有技能等级
- readonly skillLevel: number;
- //排列顺序
- readonly sort: number;
- }
- //ballrod表数据
- export const ballrodData: { [key: number]: ballrod };
- //bigmove表的数据结构体
- export class bigmove {
- //关卡
- readonly level: number;
- //成功分数
- readonly target: number;
- }
- //bigmove表数据
- export const bigmoveData: { [key: number]: bigmove };
- //classictimes表的数据结构体
- export class classictimes {
- //序号
- readonly id: number;
- //段位名称
- readonly name: string;
- //胜利场次
- readonly times: number;
- }
- //classictimes表数据
- export const classictimesData: { [key: number]: classictimes };
- //draw表的数据结构体
- export class draw {
- //序号
- readonly id: number;
- //图标
- readonly icon: string;
- //奖励类型
- readonly award: number;
- //奖励数目
- readonly num: number;
- //权重
- readonly weight: number;
- //获得次数
- readonly times: number;
- //替代物品
- readonly nextid: string[];
- //旋转角度
- readonly rotation: number;
- }
- //draw表数据
- export const drawData: { [key: number]: draw };
- //emotion表的数据结构体
- export class emotion {
- //序号
- readonly id: number;
- //对话内容
- readonly icon: string;
- //spine名称
- readonly spine: string;
- }
- //emotion表数据
- export const emotionData: { [key: number]: emotion };
- //modeselect表的数据结构体
- export class modeselect {
- //序号
- readonly id: number;
- //入场费
- readonly need: number;
- //奖励
- readonly award: number;
- //ai等级
- readonly aiLevel: number[];
- }
- //modeselect表数据
- export const modeselectData: { [key: number]: modeselect };
- //money表的数据结构体
- export class money {
- //序号
- readonly id: number;
- //金币或者钻石
- readonly type: string;
- //获取途径
- readonly get: string;
- //获得数目
- readonly num: number;
- }
- //money表数据
- export const moneyData: { [key: number]: money };
- //placeball表的数据结构体
- export class placeball {
- //序号
- readonly id: number;
- //类型(普通模式,挑战模式)
- readonly type: number;
- //挑战模式通关进球数
- readonly ball: number;
- //生命值
- readonly hp: number;
- //三星奖励
- readonly award: number[];
- }
- //placeball表数据
- export const placeballData: { [key: number]: placeball };
- //secretary表的数据结构体
- export class secretary {
- //序号
- readonly id: number;
- //对话内容
- readonly msg: string;
- }
- //secretary表数据
- export const secretaryData: { [key: number]: secretary };
- //secretaryshop表的数据结构体
- export class secretaryshop {
- //序号
- readonly id: number;
- //名字
- readonly name: string;
- //身高
- readonly height: string;
- //喜欢的食物
- readonly food: string;
- //背景故事
- readonly history: string;
- //购买价格
- readonly price: number;
- //名字图片
- readonly nameImg: string;
- //spine名字
- readonly spine: string;
- }
- //secretaryshop表数据
- export const secretaryshopData: { [key: number]: secretaryshop };
- //sign表的数据结构体
- export class sign {
- //序号
- readonly id: number;
- //图标
- readonly icon: string[];
- //标题
- readonly title: string;
- //奖励
- readonly award: string[];
- }
- //sign表数据
- export const signData: { [key: number]: sign };
- //talkwords表的数据结构体
- export class talkwords {
- //序号
- readonly id: number;
- //对话内容
- readonly msg: string;
- }
- //talkwords表数据
- export const talkwordsData: { [key: number]: talkwords };
- //words表的数据结构体
- export class words {
- //序号
- readonly id: number;
- //对话内容
- readonly msg: string;
- }
- //words表数据
- export const wordsData: { [key: number]: words };
- /**
- * 排行榜条目数据结构
- */
- export class PaiHangBang {
- // 排名分数
- readonly rankScore: string;
- // 用户ID
- readonly userId: string;
- // 用户信息字符串(需解析为对象)
- readonly userData: string;
- }
- /**
- * 排行榜整体数据结构
- */
- export interface PaiHangBangData {
- // 排行榜列表
- readonly list: PaiHangBang[];
- // 上一次得分
- readonly lastScore: string;
- // 排行榜类型
- readonly type: string;
- // 排名ID
- readonly rankId: string;
- }
- /**
- * 排行榜数据常量
- */
- export const paiHangBangData: PaiHangBangData;
- //cfgTable.paiHangBangData
- }
|