export class GamePlayTable extends slib.config.ConfigBase { Comment: string; Value: number; } export class GameSceneObjTable extends slib.config.ConfigBase { Name: string; SceneId: number; // GroupId: number; // SlotId: number; Star: number; Img: string; PosX: number; PosY: number; // IsGarbage: boolean; /**是否被人物遮挡 */ IsBelowChar: boolean; Unlock: number[]; Spine: string; CharSpine: string; CharSpineX: number; CharSpineY: number; } export class UserSkillTable extends slib.config.ConfigBase { Name: string; Icon: string; Cost: number; BuyNum: number; Param: number; Desc: string; UnlockLevel: number; } export class BlockColorTable extends slib.config.ConfigBase { MaxHP: number; Img: string; TrangleImg: string; } export class WheelTable extends slib.config.ConfigBase { Type: number; Rate: number; Num: number; Icon: string; } export class SignTable extends slib.config.ConfigBase { /**1 钻石 2 炸弹 3 手里剑 */ Type: number; Num: number; Icon: string; } export class BallSkinTable extends slib.config.ConfigBase { Name: string; /**钻石价格,-1代表签到获得,-2代表抽奖获得 */ Price: number; /**1:小 2:中 3:大 */ Size: number; Img: string; Particle: string; } export class IntroTable extends slib.config.ConfigBase { Name: string; Level: number; IntroImg: string; TitleImg: string; } export enum TableName { GAME_PLAY = 'GameplayTable', GAME_SCENE_OBJ = 'GameSceneObjTable', USER_SKILL = 'UserSkillTable', BLOCK_COLOR = 'BlockColorTable', WHEEL = 'WheelTable', SIGN = 'SignTable', BALL_SKIN = "BallSkinTable", INTRO = 'IntroTable' } export const TableMap: object = { "GameplayTable": GamePlayTable, "GameSceneObjTable": GameSceneObjTable, "UserSkillTable": UserSkillTable, 'BlockColorTable': BlockColorTable, 'WheelTable': WheelTable, 'SignTable': SignTable, "BallSkinTable": BallSkinTable, 'IntroTable': IntroTable }