feat(gvg): 组建期聊天和邮件

This commit is contained in:
luying
2023-01-05 20:50:41 +08:00
parent 03fa74f3d1
commit 6cc38053e7
16 changed files with 156 additions and 13 deletions

View File

@@ -17,6 +17,7 @@ export const CHANNEL_PREFIX = {
SYS: 'sys',
WORLD: 'world',
GUILD: 'guild',
GVG: 'gvg', // 战区
TEAM: 'com_btl_team',
CITY: 'city', // 军团活动诸侯混战按城池分channel
GUILD_AUCTION: 'g_auction', // 军团拍卖
@@ -36,6 +37,8 @@ export const getChannelType = function(prefix: string) {
return 4;
case 'private':
return 5;
case CHANNEL_PREFIX.GVG:
return 6;
}
}
@@ -83,6 +86,7 @@ export const MSG_SOURCE = {
EQUIP_QUALITY_UP: 26,
LADDER_FIRST_CHANGE: 27,
GET_UR_HERO: 28,
GVG_RECURIT: 29,
}
export const DEFAULT_MSG_PER_PAGE = 10;

View File

@@ -31,4 +31,6 @@ export enum LEAGUE_MANAGE_TYPE {
ABDICATE = 6, // 转让
BE_ABDICATED = 7, // 被转让
SET_INFO = 8, // 设置信息
RERUIT = 9, // 招募
SEND_MAIL = 9, // 招募
}

View File

@@ -241,7 +241,28 @@
"id": 34,
"title": "&",
"sendName": "您忠诚的小跟班",
"content": "亲爱的主公,您的背包中宝物数量已满,请及时清理背包哦。溢出装备已通过邮件发放,请查收",
"time": 2160
"content": "主公很抱歉,您的军团已解散,请寻找新的军团加入吧",
"time": 720
},
{
"id": 35,
"title": "&",
"sendName": "您忠诚的小跟班",
"content": "主公很抱歉,您的联军%d已解散",
"time": 720
},
{
"id": 36,
"title": "&",
"sendName": "您忠诚的小跟班",
"content": "主公很抱歉,您的军团已被联军%d踢出",
"time": 720
},
{
"id": 37,
"title": "&",
"sendName": "您忠诚的小跟班",
"content": "亲爱的主公,您被任命为联军%d的盟主",
"time": 720
}
]

View File

@@ -288,5 +288,15 @@
"worldchat": "<color=#faf3e0>恭喜</color><color=#7feebd>%d</color><color=#faf3e0>时来运转,获得神话武将%d</color>",
"bubble": "<outline color=#1c1613 width=2><color=#faf3e0>恭喜</color><color=#7feebd>%d</color><color=#faf3e0>时来运转,获得神话武将%d</color></outline>",
"comments": "1:%d(玩家名)2:%d(武将名)"
},
{
"id": 29,
"name": "GVG_RECURIT",
"mean": "联军招募",
"type": "6&",
"template": "<color=#3bbb7e>%d</color><color=#2e190a>正在扩充兵马:%d欢迎各军团加入建设</color><color=#308909>",
"worldchat": "<color=#3bbb7e>%d</color><color=#2e190a>正在扩充兵马:%d欢迎各军团加入建设</color><color=#308909>",
"bubble": "<outline color=#1c1613 width=2><color=#7feebd>%d</color><color=#faf3e0>正在扩充兵马:%d欢迎各军团加入建设</color></outline>",
"comments": "1:%d(联军名)2:%d(联军招募内容)"
}
]

View File

@@ -33,6 +33,6 @@
"DEBUG_TIME": 1,
"CHECK_WORD": 1,
"CAN_PAY": 1,
"SKIP_ENCODE": 1,
"SKIP_ENCODE": 0,
"NEED_REBATE": 0
}