军团活动:蛮夷入侵定时任务及推送

This commit is contained in:
luying
2021-03-18 21:07:06 +08:00
parent 2cf3b0ffe0
commit 7e7be94688
11 changed files with 289 additions and 39 deletions

View File

@@ -5,6 +5,7 @@ import { GuildType } from '../../../db/Guild';
import { RoleType } from '../../../db/Role';
import { GuildRecType } from '../../../db/GuildRec';
import { leaveGuildChannel, groupRoomId } from '../../../services/chatService';
import { GuildGateRankParam } from '../../../domain/battleField/guildActivity';
export default function (app: Application) {
return new GuildRemote(app);
@@ -161,7 +162,7 @@ export class GuildRemote {
* 向军团推送排行榜名次
* @param guildCode
*/
public pushRank(guildCode: string) {
public pushRank(guildCode: string, msg: GuildGateRankParam) {
this.pushMessage(guildCode, this.GUILD_ACT_RANK, msg);
}
}