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
| "use strict";
| cc._RF.push(module, 'e3f06Exn6FD8J9PzRLf4h4+', 'chat_const');
| // Scripts/mod/chat/chat_const.js
|
| "use strict";
|
| var _ChannelTag, _ChatTimeIndex, _ChatConst$ainNameCol;
|
| 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; }
|
| var ChatConst = {
| // 聊天类型
| TYPE_WORD: 0,
| // 文字聊天
| TYPE_VOICE: 1,
| // 语音聊天
| TYPE_TASK: 2,
| // 任务聊天
| TYPE_HERO: 3,
| // 英雄聊天
| TYPE_PACK: 4,
| // 背包聊天
| ChannelTag: (_ChannelTag = {}, _defineProperty(_ChannelTag, 1, "Province"), _defineProperty(_ChannelTag, 2, "Cross"), _defineProperty(_ChannelTag, 3, "World"), _defineProperty(_ChannelTag, 4, "Gang"), _defineProperty(_ChannelTag, 5, "Friend"), _defineProperty(_ChannelTag, 6, "System"), _ChannelTag),
| ChatTimeIndex: (_ChatTimeIndex = {}, _defineProperty(_ChatTimeIndex, 2048, "cooldown_same_province"), _defineProperty(_ChatTimeIndex, 1024, "cooldown_cross_service"), _defineProperty(_ChatTimeIndex, 1, "cooldown_world"), _defineProperty(_ChatTimeIndex, 4, "cooldown_guild"), _ChatTimeIndex),
| Channel: {
| Province: 2048,
| // 同省频道
| Cross: 1024,
| // 跨服频道
| World: 1,
| // 世界频道
| Gang: 4,
| // 宗门频道
| Friend: 7,
| // 好友频道
| System: 16,
| // 剧道
| NoticeTop: 32,
| //传闻频道
| System1: 64,
| //系统频道
| SystemTop: 128 //顶部系统
| // Notice :16, // 传闻
|
| },
| ChannelLimit: {
| Province: 40,
| // 跨服频道
| Cross: 40,
| // 跨服频道
| World: 40,
| // 世界频道
| Gang: 30,
| // 宗门频道
| Friend: 80,
| // 好友频道
| System: 50 // 剧道
|
| },
| Link: {
| Item_Show: 49,
| // 物品展示
| Guild_Join: 6,
| // 申请入帮
| Guild_mem_red: 7,
| // 公会成员红包
| Guild_show_red: 8,
| // 查看公会成员红包
| BargainHelp: 15,
| // 砍价链接
| BigworldBoss: 16,
| // 大世界的BS
| BigworldBossPos: 17,
| // 世界指定位置
| OtherRole: 18,
| // 弹出信息面板
| Watch_Ladder: 51,
| // 查看天梯录像
| Open_Ladder: 52,
| // 打开天梯界面
| Open_Vedio_info: 57 //打开从录像馆分享的录像
|
| }
| };
| ChatConst.ainNameColor = (_ChatConst$ainNameCol = {}, _defineProperty(_ChatConst$ainNameCol, ChatConst.Channel.Province, "#24ecf3"), _defineProperty(_ChatConst$ainNameCol, ChatConst.Channel.Cross, "#24ecf3"), _defineProperty(_ChatConst$ainNameCol, ChatConst.Channel.World, "#24ecf3"), _defineProperty(_ChatConst$ainNameCol, ChatConst.Channel.Gang, "#24ecf3"), _defineProperty(_ChatConst$ainNameCol, ChatConst.Channel.Friend, "#24ecf3"), _defineProperty(_ChatConst$ainNameCol, ChatConst.Channel.System, "#24ecf3"), _ChatConst$ainNameCol), module.exports = ChatConst;
|
| cc._RF.pop();
|
|