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
| var GuildwarConst = {
|
| // 标签页
| index: {
| list: 1, // 对阵列表
| positions: 2, // 战场阵地
| award: 3, // 奖励预览
| }
|
| // 据点状态
| , position_status: {
| normal: 0, // 正常
| attacked: 1, // 正在被攻击
| fall: 2, // 已沦陷
| }
|
| // 阵地类型
| , positions: {
| myself: 1, // 我方阵地
| others: 2, // 敌方阵地
| }
|
| // 联盟战状态
| , status: {
| close: 1, // 未开启
| matching: 2, // 匹配中
| showing: 3, // 匹配结果展示中
| processing: 4, // 开战中
| settlement: 5, // 结算中
| }
|
| // 据点难度
| , difficulty: {
| easy: 1, // 简单
| common: 2, // 普通
| difficult: 3, // 困难
| }
|
| // 联盟战战斗结果
| , result: {
| fighting: 0, // 战斗中
| lose: 1, // 失败
| win: 2, // 胜利
| dogfall: 3, // 平局
| }
|
| // 对阵列表文字提示颜色
| , against_color: {
| [1]: new cc.Color(104, 69, 42), // 已结束
| [2]: new cc.Color(58, 120, 196), // 进行中
| [3]: new cc.Color(121, 121, 121),// 平局
| }
|
| // 宝箱类型
| , box_type: {
| copper: 0, // 铜宝箱
| gold: 1, // 金宝箱
| }
|
| }
|
| module.exports = GuildwarConst
|
|