66 lines
3.5 KiB
JavaScript
66 lines
3.5 KiB
JavaScript
|
|
"use strict";
|
||
|
|
cc._RF.push(module, 'e03baPrxglD5IVgnmIp5tS2', 'dispatch.const');
|
||
|
|
// Scripts/mod/home/dispatch/dispatch.const.js
|
||
|
|
|
||
|
|
"use strict";
|
||
|
|
|
||
|
|
var _DispatchConst$Order_, _DispatchConst$Order_2, _DispatchConst$Order_3, _DispatchConst$Chose_, _DispatchConst$Condit;
|
||
|
|
////------------------------------------------------------------------
|
||
|
|
// @author: o@syg.com(必填, 创建模块的人员)
|
||
|
|
// @description:
|
||
|
|
//
|
||
|
|
// <br/>Create: new Date().toISOString()
|
||
|
|
////------------------------------------------------------------------
|
||
|
|
var DispatchConst = {};
|
||
|
|
|
||
|
|
// 某一订单数据更新
|
||
|
|
DispatchConst.UpdateOrder = "UpdateOrder";
|
||
|
|
|
||
|
|
// 远航数据更新(所有订单、刷次次数)
|
||
|
|
DispatchConst.FreshData = "FreshData";
|
||
|
|
|
||
|
|
// 删除订单
|
||
|
|
DispatchConst.DeleteOrder = "DeleteOrder";
|
||
|
|
|
||
|
|
// 远航活动状态
|
||
|
|
DispatchConst.UpdateActivityStatusEvent = "UpdateActivityStatusEvent";
|
||
|
|
|
||
|
|
//订单状态
|
||
|
|
DispatchConst.Order_Status = {
|
||
|
|
Unget: 1,
|
||
|
|
// 未接取
|
||
|
|
Underway: 2,
|
||
|
|
// 进行中
|
||
|
|
Finish: 3 // 已完成
|
||
|
|
};
|
||
|
|
|
||
|
|
//订单稀有度
|
||
|
|
DispatchConst.Order_Rarity = {
|
||
|
|
Normal: 0,
|
||
|
|
// 普通
|
||
|
|
Excellent: 1,
|
||
|
|
// 精良
|
||
|
|
Uncommon: 2,
|
||
|
|
// 稀有
|
||
|
|
Epic: 3,
|
||
|
|
// 史诗
|
||
|
|
Legend: 4,
|
||
|
|
// 传说
|
||
|
|
Eternity: 5 // 不朽
|
||
|
|
};
|
||
|
|
|
||
|
|
//订单稀有度对应的资源
|
||
|
|
DispatchConst.Order_Rarity_Res = (_DispatchConst$Order_ = {}, _DispatchConst$Order_[DispatchConst.Order_Rarity.Normal] = "voyage_1006", _DispatchConst$Order_[DispatchConst.Order_Rarity.Excellent] = "voyage_1005", _DispatchConst$Order_[DispatchConst.Order_Rarity.Uncommon] = "voyage_1004", _DispatchConst$Order_[DispatchConst.Order_Rarity.Epic] = "voyage_1003", _DispatchConst$Order_[DispatchConst.Order_Rarity.Legend] = "voyage_1002", _DispatchConst$Order_[DispatchConst.Order_Rarity.Eternity] = "voyage_1001", _DispatchConst$Order_);
|
||
|
|
|
||
|
|
//订单稀有度对应的字色
|
||
|
|
DispatchConst.Order_Rarity_Color = (_DispatchConst$Order_2 = {}, _DispatchConst$Order_2[DispatchConst.Order_Rarity.Normal] = new cc.Color(66, 75, 84, 255), _DispatchConst$Order_2[DispatchConst.Order_Rarity.Excellent] = new cc.Color(35, 119, 1, 255), _DispatchConst$Order_2[DispatchConst.Order_Rarity.Uncommon] = new cc.Color(6, 79, 147, 255), _DispatchConst$Order_2[DispatchConst.Order_Rarity.Epic] = new cc.Color(126, 6, 147, 255), _DispatchConst$Order_2[DispatchConst.Order_Rarity.Legend] = new cc.Color(147, 86, 6, 255), _DispatchConst$Order_2[DispatchConst.Order_Rarity.Eternity] = new cc.Color(161, 1, 1, 255), _DispatchConst$Order_2);
|
||
|
|
|
||
|
|
//订单状态对应按钮的字色
|
||
|
|
DispatchConst.Order_Status_Color = (_DispatchConst$Order_3 = {}, _DispatchConst$Order_3[DispatchConst.Order_Status.Unget] = new cc.Color(37, 85, 5, 255), _DispatchConst$Order_3[DispatchConst.Order_Status.Underway] = new cc.Color(37, 85, 5, 255), _DispatchConst$Order_3[DispatchConst.Order_Status.Finish] = new cc.Color(113, 40, 4, 255), _DispatchConst$Order_3);
|
||
|
|
|
||
|
|
//选中的英雄头像框位置
|
||
|
|
DispatchConst.Chose_Hero_PosX = (_DispatchConst$Chose_ = {}, _DispatchConst$Chose_[1] = [319], _DispatchConst$Chose_[2] = [255, 383], _DispatchConst$Chose_[3] = [191, 319, 447], _DispatchConst$Chose_[4] = [127, 255, 383, 511], _DispatchConst$Chose_[5] = [63, 191, 319, 447, 575], _DispatchConst$Chose_);
|
||
|
|
DispatchConst.Condition_Icon_PosX = (_DispatchConst$Condit = {}, _DispatchConst$Condit[1] = [0], _DispatchConst$Condit[2] = [-38, 38], _DispatchConst$Condit[3] = [-76, 0, 76], _DispatchConst$Condit[4] = [-114, -38, 38, 114], _DispatchConst$Condit[5] = [-152, -76, 0, 76, 152], _DispatchConst$Condit);
|
||
|
|
module.exports = DispatchConst;
|
||
|
|
|
||
|
|
cc._RF.pop();
|