You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
455 lines
9.8 KiB
455 lines
9.8 KiB
import { IDataArray } from "../const/GameInterface";
|
|
|
|
|
|
interface IShare{
|
|
shareId?: string,
|
|
shareImg?: string,
|
|
shareTitle?: string,
|
|
}
|
|
|
|
/**热更版本 */
|
|
export interface IHotvs {
|
|
/**数据版本 */
|
|
vs: number,
|
|
isReviewVer:boolean, // 是否是审核版,默认不是
|
|
trigger_range: number,
|
|
trigger_range_1: number,
|
|
tiggerMode:number,
|
|
ADEnter:boolean,
|
|
openInterstitalAd:boolean,
|
|
openSideBar:boolean,
|
|
openSubscribe:boolean,
|
|
openMusic:boolean,
|
|
music:number[],
|
|
addTili:number,
|
|
addHp:number,
|
|
addTime:number,
|
|
/**太极源挂机掉落开关 */
|
|
drop_tj_open:boolean,
|
|
drop_tj_rate:number, //掉落概率
|
|
/**游戏分享配置 */
|
|
shareId:IShare[],
|
|
/**激励和插屏广告id */
|
|
rewardVideoId:string,
|
|
interstitialId:string[],
|
|
/**白名单 */
|
|
wlist:string[],
|
|
}
|
|
|
|
/**兑换数据 */
|
|
export interface IRedemptionCode {
|
|
/**code */
|
|
code: string,
|
|
/**平台 */
|
|
platform: string,
|
|
/**指定用户的openid */
|
|
openid: string,
|
|
/**兑换内容 */
|
|
awards: IDataArray,
|
|
}
|
|
/**兑换数据 */
|
|
export interface IRedemptionData {
|
|
/**数据版本 */
|
|
// vs: number,
|
|
/**ID */
|
|
data: IRedemptionCode[],
|
|
}
|
|
|
|
/**兑换数据 */
|
|
export interface INoticeData {
|
|
/**公告日期(一般用于比较时间),例如20260309 */
|
|
timenum: number,
|
|
/**公告日期(一般用于显示),例如2026-03-09 */
|
|
timestr: string,
|
|
/**公告保持天数,-1为永久显示 */
|
|
showdays: number,
|
|
/**公告标题 */
|
|
title: string
|
|
/**公告内容 */
|
|
content: string
|
|
}
|
|
|
|
/**离散表 数据 */
|
|
export interface IDiscretization {
|
|
/**序号 */
|
|
id: number,
|
|
/**描述 */
|
|
des: string,
|
|
/**数值1 */
|
|
num1: number,
|
|
/**数值2 */
|
|
num2: number;
|
|
}
|
|
|
|
export type FIDiscretization = { [key: number]: IDiscretization }
|
|
|
|
|
|
/** 基础资源配置 */
|
|
export interface IBaseRes {
|
|
/**ID */
|
|
id: number,
|
|
/**名称 */
|
|
name: string,
|
|
/**描述 */
|
|
title:string,
|
|
desc: string,
|
|
icon:string,
|
|
typeName:string,
|
|
quality:number,
|
|
//usedes:string,
|
|
/**获取途径 */
|
|
access: string[],
|
|
}
|
|
|
|
|
|
/** 敌人 */
|
|
export interface IEnemy {
|
|
readonly id:number,
|
|
/**名称 */
|
|
readonly name:string,
|
|
/**spine皮肤 */
|
|
readonly sp:string,
|
|
/**spine缩放 */
|
|
readonly scale:number,
|
|
/**头像 */
|
|
readonly headicon:string,
|
|
/**身份 */
|
|
readonly identity:string,
|
|
/**是否为boss */
|
|
readonly boss:number,
|
|
/**战斗时间 */
|
|
readonly duration:number,
|
|
/**血量 */
|
|
readonly hp:number,
|
|
/**奖励(货币) */
|
|
readonly bounty:number,
|
|
/**奖励(道具) */
|
|
readonly reward:number,
|
|
/**剑防御百分比 */
|
|
readonly defense_1:number,
|
|
/**刀防御百分比 */
|
|
readonly defense_2:number,
|
|
/**棍防御百分比 */
|
|
readonly defense_3:number,
|
|
/**描述 */
|
|
readonly desc:string,
|
|
/**故事结局 */
|
|
readonly story:string,
|
|
/**百分比 */
|
|
readonly percent:number,
|
|
}
|
|
export type FIEnemy = { [key: number]: IEnemy }
|
|
|
|
|
|
/** 功法 */
|
|
export interface IGongFa {
|
|
readonly id:number,
|
|
/**名称 */
|
|
readonly name:string,
|
|
/**key名称 */
|
|
readonly key_name:string,
|
|
/**参数1 */
|
|
readonly prop1:string,
|
|
/**参数2 */
|
|
readonly prop2:string,
|
|
/**描述 */
|
|
readonly desc:string,
|
|
}
|
|
|
|
export type FIGongFa = { [key: number]: IGongFa }
|
|
|
|
/** 物品 */
|
|
export interface IItems {
|
|
readonly id:number,
|
|
/** 名称 */
|
|
readonly name:string,
|
|
/** 权重 */
|
|
readonly weight:number,
|
|
/** 额外权重 */
|
|
readonly weight_add:number,
|
|
/** 解锁等级 */
|
|
readonly unlock:number,
|
|
/** 套装id */
|
|
readonly suittype:number,
|
|
/** 品阶 */
|
|
readonly quality:number,
|
|
/** 目录 */
|
|
readonly catalog:number,
|
|
/** 类型 */
|
|
readonly type:number,
|
|
/** 类型名称 */
|
|
readonly typeName:string,
|
|
/** 条件类型 */
|
|
readonly condition:number,
|
|
/** 条件值 */
|
|
readonly conditionValue:number,
|
|
/** 影响 */
|
|
readonly effect:number,
|
|
/** 影响 */
|
|
readonly effectDesc:string,
|
|
/** 描述 */
|
|
readonly desc:string,
|
|
/** 价格 */
|
|
readonly price:number,
|
|
/** 货币类型 */
|
|
readonly pricetype:number,
|
|
|
|
readonly img:string,
|
|
|
|
}
|
|
export type FIItems = { [key: number]: IItems }
|
|
export type FIItemTypes = { [key: number]: IItems[] }
|
|
|
|
/** 关卡 */
|
|
export interface ILevel {
|
|
readonly id:number,
|
|
/**关卡序号 */
|
|
readonly index:number,
|
|
/**名称 */
|
|
readonly name:string,
|
|
/**描述 */
|
|
readonly desc:string,
|
|
/**怪物——id */
|
|
readonly monster:number,
|
|
/**boss_id */
|
|
readonly boss:number,
|
|
/**故事 */
|
|
readonly story:string,
|
|
}
|
|
export type FILevel = { [key: number]: ILevel }
|
|
|
|
/** NPC */
|
|
export interface IAgent {
|
|
readonly id:number,
|
|
/**中文名 */
|
|
readonly name_cn: string,
|
|
/**英文名 */
|
|
readonly name_en: string,
|
|
}
|
|
export type FIAgent = { [key: number]: IAgent }
|
|
|
|
|
|
/** 签到 */
|
|
export interface ISignin {
|
|
/**ID */
|
|
id: number,
|
|
/**奖励 */
|
|
award:IDataArray,
|
|
}
|
|
export type FISignin = ISignin[];
|
|
|
|
/** 任务 */
|
|
export interface ITask {
|
|
readonly id:number,
|
|
/** 名称 */
|
|
readonly name:string,
|
|
/** 品阶 */
|
|
readonly quality:number,
|
|
/** 条件 */
|
|
readonly condition:number,
|
|
/** 条件id */
|
|
readonly conditionId:number,
|
|
/** 条件值 */
|
|
readonly conditionValue:number,
|
|
/** 条件描述 */
|
|
readonly conditionDesc:string,
|
|
/** 奖励类型 */
|
|
readonly rewardType:number,
|
|
/** 奖励id */
|
|
readonly rewardId:number,
|
|
/** 奖励值 */
|
|
readonly rewardValue:number,
|
|
/** 任务描述 */
|
|
readonly desc:string,
|
|
}
|
|
export type FITask = { [key: number]: ITask }
|
|
|
|
/** 道具 */
|
|
export interface IProp {
|
|
readonly id:number,
|
|
/** 名称 */
|
|
readonly name:string,
|
|
/** 效果 */
|
|
readonly display:string,
|
|
/** 参数1 */
|
|
readonly prop1:number,
|
|
/** 参数2 */
|
|
readonly prop2:number,
|
|
/** 参数1_额外值 */
|
|
readonly prop1_add:number,
|
|
/** 参数2_额外值 */
|
|
readonly prop2_add:number,
|
|
/** 价值 */
|
|
readonly price:number,
|
|
/** 描述 */
|
|
readonly desc:string,
|
|
/** 图片 */
|
|
readonly img:string,
|
|
}
|
|
|
|
export type FIProp = { [key: number]: IProp }
|
|
export type FIPropArr = IProp[]
|
|
|
|
/** 天赋 */
|
|
export interface ITalen {
|
|
readonly id:number,
|
|
/** 名称 */
|
|
readonly name:string,
|
|
/** 效果 */
|
|
readonly display:string,
|
|
/** 参数1 */
|
|
readonly prop1:number,
|
|
/** 参数2 */
|
|
readonly prop2:number,
|
|
}
|
|
|
|
export type FITalenArr = ITalen[]
|
|
|
|
/** 武功 */
|
|
export interface IWuGong {
|
|
readonly id: number,
|
|
/**名称 */
|
|
readonly name: string,
|
|
/**品质 */
|
|
readonly quality: number,
|
|
/**类型 */
|
|
readonly type: number,
|
|
/**属性 */
|
|
readonly attr: number,
|
|
/**天赋 */
|
|
readonly talent: number,
|
|
/**成长 */
|
|
readonly grow: number,
|
|
/**基础 */
|
|
readonly overAll: number,
|
|
/**阴影图片 */
|
|
readonly img: string,
|
|
|
|
}
|
|
export type FIWuGong = { [key: number]: IWuGong }
|
|
export type FIWuGongType = { [key: number]: IWuGong[] }
|
|
|
|
/** 武功 */
|
|
export interface IBuilds {
|
|
readonly id: number,
|
|
/**名称 */
|
|
readonly name: string,
|
|
/**开张花费 */
|
|
readonly cost: number,
|
|
/**品质 */
|
|
readonly costquality: number,
|
|
/**收益间隔 */
|
|
readonly interval: number,
|
|
/**解锁材料 */
|
|
readonly material_base: number,
|
|
/**进阶材料 */
|
|
readonly material_senior: number,
|
|
}
|
|
export type FIBuilds = { [key: number]: IBuilds }
|
|
|
|
|
|
/** 经脉 */
|
|
export interface IConfidante {
|
|
/** id */
|
|
readonly id:number,
|
|
/** 图片索引 */
|
|
readonly index:number,
|
|
/** 名称 */
|
|
readonly name:string,
|
|
/** 效果 */
|
|
readonly display:string,
|
|
/** 解锁描述 */
|
|
readonly unlockdesc:string,
|
|
/** 参数1 */
|
|
readonly prop:number,
|
|
/** 参数2 */
|
|
readonly prop_add:number,
|
|
/** 图片 */
|
|
readonly img:string,
|
|
/** 解锁条件 */
|
|
readonly unlock:number,
|
|
/** 升级花费 */
|
|
readonly cost:number,
|
|
}
|
|
|
|
export type FIConfidante = { [key: number]: IConfidante }
|
|
export type FIConfidanteArr = IConfidante[]
|
|
|
|
|
|
/** 异兽 */
|
|
export interface IMutate {
|
|
readonly id:number,
|
|
/**名称 */
|
|
readonly name:string,
|
|
/**spine皮肤 */
|
|
readonly sp:string,
|
|
/**spine缩放 */
|
|
readonly scale:number,
|
|
/**头像 */
|
|
readonly headicon:string,
|
|
/**身份 */
|
|
readonly identity:string,
|
|
/**普通小怪触发的血量比 */
|
|
readonly hp:number,
|
|
/**Boss触发的血量比 */
|
|
readonly hp_boss:number,
|
|
/**普通小怪触发的奖励 */
|
|
readonly reward:number,
|
|
/**Boss触发的奖励 */
|
|
readonly reward_boss:number,
|
|
/**剑防御百分比 */
|
|
readonly defense_1:number,
|
|
/**刀防御百分比 */
|
|
readonly defense_2:number,
|
|
/**棍防御百分比 */
|
|
readonly defense_3:number,
|
|
/**描述 */
|
|
readonly desc:string,
|
|
/**故事结局 */
|
|
readonly story:string,
|
|
/**bg音乐 */
|
|
readonly audio:string,
|
|
}
|
|
export type FIMutate = { [key: number]: IMutate }
|
|
|
|
|
|
/** 其他商店商品 */
|
|
export interface IShopItems {
|
|
readonly id:number,
|
|
/**名称 */
|
|
readonly name:string,
|
|
/**类型(保留) */
|
|
readonly type:string,
|
|
/**商品列表 */
|
|
readonly items:number[],
|
|
}
|
|
export type FIShopItems = { [key: number]: IShopItems }
|
|
|
|
/** 套装效果 */
|
|
export interface ISuitEffect {
|
|
readonly id:number,
|
|
/**套装类型 */
|
|
readonly suit_type:number,
|
|
/**套装等级 */
|
|
readonly level:number,
|
|
/**套装名称 */
|
|
readonly suit_name:string,
|
|
/**套装效果描述 */
|
|
readonly suit_effect:string,
|
|
/**参数1 */
|
|
readonly prop1:number,
|
|
/**参数2 */
|
|
readonly prop2:number,
|
|
/**图标 */
|
|
readonly img:string,
|
|
/**动画 */
|
|
readonly skill_sp:string,
|
|
/**技能名 */
|
|
readonly skill_name:string,
|
|
/**播放技能时候播放的音效 */
|
|
readonly skill_audio1:string,
|
|
/**hit1音效 */
|
|
readonly skill_audio2:string,
|
|
}
|
|
export type FISuitEffect = { [key: number]: ISuitEffect }
|
|
export type FISuitEffectType = { [key: number]: ISuitEffect[] }
|
|
|