difenduandada
2024-12-31 34abe6963b344c882358274957f4b992456fee40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
"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界面的一些常量
// <br/>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();