聊天:组队聊天和测试

This commit is contained in:
liangtongchuan
2021-03-09 11:20:07 +08:00
parent ae1f89abf7
commit 2e17c873e2
4 changed files with 80 additions and 7 deletions

View File

@@ -15,15 +15,17 @@ export const CHANNEL_PREFIX = {
SYS: 'sys',
WORLD: 'new_world',
GUILD: 'new_guild',
TEAM: 'com_btl_team',
}
// 消息来源
export const MSG_SOURCE = {
ROLE_SEND_TEXT: 0,
PRIVATE_SEND_GIFT: 1,
HERO_QUALITY_UP: 2,
COMPOSE_ORANGE_HERO: 3,
HERO_STAR_MAX: 4,
TEAM: 2,
HERO_QUALITY_UP: 3,
COMPOSE_ORANGE_HERO: 4,
HERO_STAR_MAX: 5,
}
export const ON_MSG_ROUTE = 'onMessage';