Skip to content

Commit f39f70d

Browse files
committed
Achievment complete made public
1 parent e54fec9 commit f39f70d

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

src/app.service.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { InjectRepository } from '@nestjs/typeorm';
1515
import { ReplayEntity } from 'gameserver/model/replay.entity';
1616
import { GameServerEntity } from 'gameserver/model/game-server.entity';
1717
import { PlayerNotLoadedEvent } from 'gateway/events/bans/player-not-loaded.event';
18+
import { AchievementCompleteEvent } from 'gateway/events/gs/achievement-complete.event';
1819

1920
@Injectable()
2021
export class AppService {
@@ -55,7 +56,8 @@ export class AppService {
5556
ServerActualizationRequestedEvent,
5657
KillServerRequestedEvent,
5758
BanSystemEvent,
58-
PlayerNotLoadedEvent
59+
PlayerNotLoadedEvent,
60+
AchievementCompleteEvent
5961
];
6062

6163
this.ebus

src/gameserver/command/ProcessAchievements/process-achievements.handler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { Repository } from 'typeorm';
77
import PlayerInMatchEntity from 'gameserver/model/player-in-match.entity';
88
import { AchievementEntity } from 'gameserver/model/achievement.entity';
99
import { combos } from 'util/cross';
10-
import { AchievementCompleteEvent } from 'gameserver/event/achievement-complete.event';
1110
import { AchievementService } from 'gameserver/achievement.service';
11+
import { AchievementCompleteEvent } from 'gateway/events/gs/achievement-complete.event';
1212

1313
@CommandHandler(ProcessAchievementsCommand)
1414
export class ProcessAchievementsHandler

src/gameserver/event/achievement-complete.event.ts

-10
This file was deleted.

src/gateway

0 commit comments

Comments
 (0)