Files

205 lines
9.8 KiB
JavaScript
Raw Permalink Normal View History

2026-05-23 22:10:14 +08:00
/*******************************************************************************
*
* 老版本桥接过渡定义
*
*
*
* 2021.12.10
******************************************************************************/
module.exports = {
// 游戏阶段标记
GameStage: {
None : 0, // 无
HotUpdate : 9, // 热更
LaunchAnim : 10, // 启动动画
LaunchAnimH : 11, // 启动动画H
Login : 20, // 登录阶段
First : 30, // 首次进入预备阶段
Game : 40, // 游戏阶段
},
// 游戏阶段场景
StageScene: {
9: "SceneHotUpdate",
10: "SceneLaunchAnim",
11: "SceneLaunchAnimH",
20: "LoginScene",
30: "FirstEnterScene",
40: "MainScene",
},
// 全局视图原型
ViewBridge: {
Name : "Bridge",
Single : true,
VBD : true,
Model : [
// 配置
{ key : "gname", value : "", desc : "gname" },
{ key : "logLv", value : 0, desc : "logLv" },
{ key : "channel", value : "", desc : "渠道" },
{ key : "channelName", value : "", desc : "渠道名" },
{ key : "gm", value : false, desc : "管理员模式" },
{ key : "ssl", value : false, desc : "SSL模式" },
{ key : "svrsURL", value : "", desc : "svrsURL" },
{ key : "dataURL", value : "", desc : "dataURL" },
{ key : "payURL", value : "", desc : "payURL" },
{ key : "bugURL", value : "", desc : "BUG提交URL" },
{ key : "noticeURL", value : "", desc : "noticeURL" },
{ key : "excRates", value : null, desc : "汇率转换" },
// 验证
{ key : "matVersion", value : "", desc : "版本验证" },
// SDK
{ key : "hideSwitch", value : false, desc : "可切换账号" },
{ key : "enableGuest", value : false, desc : "游客登录" },
{ key : "gmUrl", value : "", desc : "客服URL" },
{ key : "socialUrl", value : "", desc : "社区URL" },
{ key : "phpUrls", value : "", desc : "PHPURL" },
// 运行参数
{ key : "showGM", value : true, desc : "showGM" },
{ key : "logInTime", value : 0, desc : "logInTime" },
{ key : "GWaitings", value : [], desc : "全局等待队列" },
{ key : "PayWait", value : null, desc : "支付等待" },
// 账号相关
{ key : "connFlag", value : "", desc : "当前CS连接标记" },
{ key : "curAccount", value : null, desc : "当前账号" },
{ key : "curServer", value : null, desc : "当前服务器" },
{ key : "curRole", value : null, desc : "当前角色" },
{ key : "allRoles", value : [], desc : "所有角色" },
{ key : "allServers", value : {}, desc : "所有服务器" },
{ key : "recServers", value : [], desc : "推荐服务器" },
// 重要标记
{ key : "GS", value : 0, desc : "游戏阶段标记" },
{ key : "GSArgs", value : {}, desc : "游戏阶段附加参数" },
{ key : "RoleReady", value : 0, desc : "角色重建(请求数据)" },
// 业务相关
{ key : "clerkList", value : [], desc : "秘书组信息" },
{ key : "clerkShowId", value : "", desc : "当前展示秘书的ID" },
// 召唤相关
{ key: "INFTimes", value: 0, desc: "无限十连次数" },
{ key: "INFRecords", value: [], desc: "无限十连记录" },
{ key: "INFCurrent", value: [], desc: "无限十连当前" },
// 家园相关
{ key: "HomeLocked", value: null, desc: "家园解锁信息" },
{ key: "HomeOwnerName", value: "", desc: "家主名字" },
{ key: "HomeOwnerRid", value: 0, desc: "家主ID" },
{ key: "HomeOwnerSrv", value: 0, desc: "家主SrvId" },
{ key: "HomeMine", value: false, desc: "自己家" },
{ key: "HomeName", value: "", desc: "家园名字" },
{ key: "HomeTheme", value: 0, desc: "家园主题" },
{ key: "HomeThemeList", value: [], desc: "家园主题列表" },
{ key: "HomePartners", value: [], desc: "伙伴bids列表" },
{ key: "HomeRewards", value: [], desc: "奖励列表" },
{ key: "HomeVisitors", value: 0, desc: "访客数量" },
{ key: "HomeViewing", value: false, desc: "参观中" },
{ key: "HomeEditing", value: false, desc: "编辑中" },
// 家园H相关
{ key: "HOpened", value: false, desc: "开启中" },
{ key: "HPartnerId", value: 0, desc: "当前角色ID" },
{ key: "HFavorNum", value: 0, desc: "当前新密度" },
{ key: "HMood", value: 0, desc: "当前心情值" },
{ key: "HMoodVip", value: 0, desc: "当前VIP心情值" },
// 亲密度相关
{ key: "HomeGirls", value: [], desc: "闺蜜列表" },
{ key: "HomeGirlShow", value: 0, desc: "当前闺蜜bid" },
// 大富翁玩法相关
{ key: "MonoTurn", value: 0, desc: "当前轮次" },
{ key: "MonoPos", value: 0, desc: "当前位置" },
{ key: "MonoBuyNum", value: 0, desc: "剩余购买次数" },
{ key: "MonoEndTime", value: 0, desc: "结束时间" },
{ key: "MonoRewards", value: [], desc: "奖励列表" },
{ key: "MonoAutoDice", value: false, desc: "连续投掷" },
// UI相关
{ key : "ShowPartner", value : null, desc : "当前展示的伙伴" },
{ key : "BPChanged", value : [], desc : "战力改变[add,from]" },
{ key : "TaskInfo", value : null, desc : "当前选择的任务信息"},
{ key : "PartnerBack", value : null, desc : "伙伴回退重生"},
{ key : "ShowWingPos", value : null, desc : "当前选择的装配方案,取消默认方案的高亮显示"},
{ key : "Prompts", value : [], desc : "屏幕下方提示" },
{ key : "PromptsShow", value : [], desc : "屏幕下方提示(当前已展示)" },
{ key : "CChampion", value : null, desc : "跨服冠軍賽自己比賽"},
{ key : "CChampionPro", value : null, desc : "跨服冠軍賽階段相關"},
{ key : "FormCollectReward", value : [], desc : "阵容集齐奖励"},
// 神装 祈祷相关
{ key : "HolyPray", value : null, desc : "神装许愿数据"},
//结算数据
{ key : "BatBreak", value : false, desc : "战斗意外中断,用于清除残余战斗场景" },
{ key : "ResultInfo", value : {}, desc : "通用结算信息" },
//商城相关
{ key: "ShopLocked", value: null, desc: "商城解锁信息" },
// 一些特殊兼容变量
// { key: "NxMainBGM", value: null, desc: "当前主背景音乐组件" },
// 充值 特权礼包相关
{ key: "privilege", value : "", desc:"特权礼包相关" },
// VIP 購買相關等級禮包數據
{ key: "VIPBuyGifts", value : "", desc:"VIP購買相關等級禮包數據" },
{ key: "VIPMMSp", value : "", desc:"虛空祝福激活額外獎勵領取狀態" },
// 充值 每日特惠禮包相關
{ key: "DailySpGift", value : "", desc:"每日特惠礼包相关" },
// 周月循環禮包
{ key: "weeklygift", value: null, desc: "周禮包相關" },
{ key: "monthlygift", value: null, desc: "月禮包相關" },
// 充值相關
{ key: "RechargeList", value : [], desc:"充值商品列表" },
{ key: "TotalCharge", value : "", desc:"当前服玩家的总充值数" },
// 个人推送相关
{ key: "PPushNews", value: [], desc: "新推送" },
{ key: "PPushGifts", value: [], desc: "礼包列表" },
{ key: "PPushCD", value: 0, desc: "推送就近时间戳" },
// 一键领取相关
{ key: "OnceRewards", value: [], desc: "领取列表" },
// 通關獎勵特殊禮包
{ key: "SpecialPass", value: {}, desc: "通關獎勵禮包狀態"},
// 制作关卡 时间
{ key: "BattleDrameCd", value: 0, desc: "制作关卡时间"},
{ key: "DailyPop", value: 0, desc: "每日弹出相关"},
// 每日特惠 每日限购礼包
{ key: "DailyLimit", value: 0, desc: "每日限购礼包弹出状态"},
// PVP 段位比武相關數據
{ key: "rankMatch", value: {}, desc: "段位比武相關數據"},
{ key: "rankMatching", value: {}, desc: "段位比武匹配相關數據"},
{ key: "rankOrder", value: {}, desc: "段位比武戰令相關數據"},
{ key : "CampfightTop", value : null, desc : "陣營大戰"},
{ key : "CloseSpecial", value : null, desc : "陣營大戰"},
{ key : "PvpRankTask", value : null, desc : "段位比武每日任務信息"},
]
},
};