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
| "use strict";
| cc._RF.push(module, 'e03baPrxglD5IVgnmIp5tS2', 'voyage_const');
| // Scripts/mod/voyage/voyage_const.js
|
| "use strict";
|
| var _VoyageConst$Order_Ra, _VoyageConst$Order_Ra2, _VoyageConst$Order_St, _VoyageConst$Chose_He, _VoyageConst$Conditio;
|
| 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: o@syg.com(必填, 创建模块的人员)
| // @description:
| //
| // <br/>Create: new Date().toISOString()
| ////------------------------------------------------------------------
| var VoyageConst = {}; //订单状态
|
| VoyageConst.Order_Status = {
| Unget: 1,
| // 未接取
| Underway: 2,
| // 进行中
| Finish: 3 // 已完成
|
| }; //订单稀有度
|
| VoyageConst.Order_Rarity = {
| Normal: 0,
| // 普通
| Excellent: 1,
| // 精良
| Uncommon: 2,
| // 稀有
| Epic: 3,
| // 史诗
| Legend: 4,
| // 传说
| Eternity: 5 // 不朽
|
| }; //订单稀有度对应的资源
|
| VoyageConst.Order_Rarity_Res = (_VoyageConst$Order_Ra = {}, _defineProperty(_VoyageConst$Order_Ra, VoyageConst.Order_Rarity.Normal, "voyage_1006"), _defineProperty(_VoyageConst$Order_Ra, VoyageConst.Order_Rarity.Excellent, "voyage_1005"), _defineProperty(_VoyageConst$Order_Ra, VoyageConst.Order_Rarity.Uncommon, "voyage_1004"), _defineProperty(_VoyageConst$Order_Ra, VoyageConst.Order_Rarity.Epic, "voyage_1003"), _defineProperty(_VoyageConst$Order_Ra, VoyageConst.Order_Rarity.Legend, "voyage_1002"), _defineProperty(_VoyageConst$Order_Ra, VoyageConst.Order_Rarity.Eternity, "voyage_1001"), _VoyageConst$Order_Ra); //订单稀有度对应的字色
|
| VoyageConst.Order_Rarity_Color = (_VoyageConst$Order_Ra2 = {}, _defineProperty(_VoyageConst$Order_Ra2, VoyageConst.Order_Rarity.Normal, new cc.Color(66, 75, 84, 255)), _defineProperty(_VoyageConst$Order_Ra2, VoyageConst.Order_Rarity.Excellent, new cc.Color(35, 119, 1, 255)), _defineProperty(_VoyageConst$Order_Ra2, VoyageConst.Order_Rarity.Uncommon, new cc.Color(6, 79, 147, 255)), _defineProperty(_VoyageConst$Order_Ra2, VoyageConst.Order_Rarity.Epic, new cc.Color(126, 6, 147, 255)), _defineProperty(_VoyageConst$Order_Ra2, VoyageConst.Order_Rarity.Legend, new cc.Color(147, 86, 6, 255)), _defineProperty(_VoyageConst$Order_Ra2, VoyageConst.Order_Rarity.Eternity, new cc.Color(161, 1, 1, 255)), _VoyageConst$Order_Ra2); //订单状态对应按钮的字色
|
| VoyageConst.Order_Status_Color = (_VoyageConst$Order_St = {}, _defineProperty(_VoyageConst$Order_St, VoyageConst.Order_Status.Unget, new cc.Color(37, 85, 5, 255)), _defineProperty(_VoyageConst$Order_St, VoyageConst.Order_Status.Underway, new cc.Color(37, 85, 5, 255)), _defineProperty(_VoyageConst$Order_St, VoyageConst.Order_Status.Finish, new cc.Color(113, 40, 4, 255)), _VoyageConst$Order_St); //选中的英雄头像框位置
|
| VoyageConst.Chose_Hero_PosX = (_VoyageConst$Chose_He = {}, _defineProperty(_VoyageConst$Chose_He, 1, [319]), _defineProperty(_VoyageConst$Chose_He, 2, [255, 383]), _defineProperty(_VoyageConst$Chose_He, 3, [191, 319, 447]), _defineProperty(_VoyageConst$Chose_He, 4, [127, 255, 383, 511]), _defineProperty(_VoyageConst$Chose_He, 5, [63, 191, 319, 447, 575]), _VoyageConst$Chose_He);
| VoyageConst.Condition_Icon_PosX = (_VoyageConst$Conditio = {}, _defineProperty(_VoyageConst$Conditio, 1, [0]), _defineProperty(_VoyageConst$Conditio, 2, [-38, 38]), _defineProperty(_VoyageConst$Conditio, 3, [-76, 0, 76]), _defineProperty(_VoyageConst$Conditio, 4, [-114, -38, 38, 114]), _defineProperty(_VoyageConst$Conditio, 5, [-152, -76, 0, 76, 152]), _VoyageConst$Conditio);
| module.exports = VoyageConst;
|
| cc._RF.pop();
|
|