"use strict"; cc._RF.push(module, '08c1f5AK/dGj7q0i/zMwEln', 'mainui_const'); // Scripts/mod/mainui/mainui_const.js "use strict"; var _sub_type, _first_red_point; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } ////------------------------------------------------------------------ // @author: shiraho@syg.com(必填, 创建模块的人员) // @description: // 主ui界面的一些常量 //
Create: new Date().toISOString() ////------------------------------------------------------------------ var MainUiConst = { // 界面匹配的战斗类型 ui_fight_type: { normal: 0, main_scene: 1, partner: 2, backpack: 3, drama_scene: 4, esecsice: 5, guild: 6, hallows: 7, arena: 8, // 竞技场 guild_dun: 9, // 联盟副本 star_tower: 10, // 星命塔 endless: 11, // 无尽试炼 dungeon_stone: 14, // 材料副本 guildwar: 17, // 公会战 primusWar: 18, // 星河神殿 ladderwar: 19, // 天梯 expedit_fight: 20, //远征 limit_boss: 12, // 限时BOSS,暂时没有了 escort: 13, // 护送, 暂时没有了 godbattle: 15, // 众神战,暂时没有了 elementWar: 25, // 元素圣殿 heavenwar: 27 // 天界副本 }, // 主界面的按钮下标 btn_index: { main_scene: 0, // 主城 partner: 1, // 英雄 backpack: 2, // 背包 drama_scene: 3, // 剧情 esecsice: 4, // 历练 guild: 5, // 联盟 hallows: 6, // 神器 boss: 991, // upgrade: 992, // recharge: 993, // assistant: 994, // gemstone: 996 // }, // 通用获取物品面板的物品类型,默认是道具类型 item_exhibition_type: { item_type: 1, // 道具类型 默认是这个 partner_type: 2 // 伙伴类型 }, icon: { friend: 1, //好友 mail: 2, //邮件 daily: 3, //日常 stronger: 4, //我要变强 rank: 5, // 排行榜 vedio: 6, // 录像馆 festval: 908, // 普通节日登录 festval_spring: 1101, // 春节登录 festval_lover: 1102, // 情人节登录 welfare: 12, //福利 charge: 10, // 充值 action: 13, //限时活动 champion: 14, // 冠军赛 festival: 15, // 节日活动 escort: 17, // 护送图标 godbattle: 18, // 众神战场 godpartner: 19, // 神将折扣 combine: 21, // 合服活动 guildwar: 22, ladder: 23, // 跨服天梯 ladder_2: 24, // 天梯 download: 100, // 边玩边下 day_first_charge: 501, //每日首充 first_charge: 502, //首冲 seven_login: 505, //七天登录 limit_gift_entry: 506, // 限时礼包入口 升星礼包 和 等级礼包 first_charge_new1: 522, //首冲(新版本) direct_gift: 1001, //直购礼包 seven_rank: 108, //7天排行 crossserver_rank: 109, //跨服排行 icon_firt1: 900, //首冲(3星雅典娜) icon_firt2: 901, //首冲 icon_firt3: 902, //首冲 icon_firt4: 903, //首冲 icon_firt5: 904, //首冲 icon_charge1: 905, //首冲 icon_charge2: 906, //首冲 day_charge: 907, // 每日充值 dungeon_double_time: 20, // 双倍时间 seven_goal: 503, //七天目标(1--7) seven_goal1: 1503, //七天目标(8--14) seven_goal2: 2503, //七天目标(15--21) seven_goal3: 3503, //七天目标(22--28) combine_login: 909, // 合服登陆福利 lucky_treasure: 1002, //幸运探宝 preferential: 1003, // 特惠礼包(3星直升礼包丁奥) other_preferential: 1004, certify: 110, // 实名认证 fund: 507, // 基金 first_charge_new: 512, //首冲(新版本) limit_recruit: 504, //限时招募 open_server_recharge: 513, //开服小额充值 give_vip: 525, //vip免费送 one_gift: 528, //一元礼包 skin: 529, //皮肤 shrh_share: 9997, //深海融合分享 shrh_sub: 9998, //深海融合关注 shrh_realname: 9999, //深海融合实名 trigger_gift: 526, //触发礼包 privilege_shop: 527, //特权商城 shwx_collect: 9987, //深海小程序收藏有礼 shwx_share: 9988, //深海小程序游戏分享 shwx_sub: 9989 //深海小程序官微福利 }, //部分页面的跳转需要进到主城中去 sub_type: (_sub_type = { arena_call: 1, dungeon_auto: 2, partner_zhenfa: 3, forge_house: 4, // 锻造屋 guild_boss: 5, startower: 6, partnersummon: 7, champion_call: 8, endless: 9, escort: 10, dungeonstone: 11 }, _defineProperty(_sub_type, "endless", 12), _defineProperty(_sub_type, "wonderful", 13), _defineProperty(_sub_type, "godbattle", 14), _defineProperty(_sub_type, "world_boss", 15), _defineProperty(_sub_type, "function_icon", 16), _defineProperty(_sub_type, "limit_action", 17), _defineProperty(_sub_type, "guildwar", 18), _defineProperty(_sub_type, "primuswar", 19), _defineProperty(_sub_type, "ladderwar", 20), _defineProperty(_sub_type, "expedit_fight", 21), _defineProperty(_sub_type, "adventure", 22), _defineProperty(_sub_type, "eliteMatchWar", 23), _defineProperty(_sub_type, "seerpalace", 25), _defineProperty(_sub_type, "elementWar", 26), _sub_type), //主ui图标分主要部分,包括下面6个以及充值,另外就是function_data那些. function_type: { main: 1, other: 2 }, //第一次时入口红点 first_red_point: (_first_red_point = {}, _defineProperty(_first_red_point, 526, true), _defineProperty(_first_red_point, 527, true), _first_red_point), // 通用的获得物品界面,打开来源 item_open_type: { normal: 1, // 普通 seerpalace: 2, // 先知召唤获得 heavendial: 3 // 神装转盘 } }; module.exports = MainUiConst; cc._RF.pop();