Skip to content

Commit d815ec8

Browse files
committed
Remove stupid replay entity
1 parent fd6e49e commit d815ec8

File tree

4 files changed

+0
-82
lines changed

4 files changed

+0
-82
lines changed

src/app.service.ts

-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { KillServerRequestedEvent } from 'gateway/events/gs/kill-server-requeste
1212
import { BanSystemEvent } from 'gateway/events/gs/ban-system.event';
1313
import { Repository } from 'typeorm';
1414
import { InjectRepository } from '@nestjs/typeorm';
15-
import { ReplayEntity } from 'gameserver/model/replay.entity';
1615
import { GameServerEntity } from 'gameserver/model/game-server.entity';
1716
import { PlayerNotLoadedEvent } from 'gateway/events/bans/player-not-loaded.event';
1817
import { AchievementCompleteEvent } from 'gateway/events/gs/achievement-complete.event';
@@ -24,8 +23,6 @@ export class AppService {
2423
private readonly ebus: EventBus,
2524
@InjectRepository(GameServerEntity)
2625
private readonly gameServerEntityRepository: Repository<GameServerEntity>,
27-
@InjectRepository(ReplayEntity)
28-
private readonly replayEntityRepository: Repository<ReplayEntity>,
2926
@InjectRepository(GameServerSessionEntity)
3027
private readonly gameServerSessionEntityRepository: Repository<GameServerSessionEntity>,
3128
@Inject("QueryCore") private readonly redisEventQueue: ClientProxy,

src/gameserver/event-handler/start-fake-match.handler.ts

-75
This file was deleted.

src/gameserver/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { PlayerReportUpdatedHandler } from 'gameserver/event-handler/player-repo
2323
import { PlayerReportHandler } from 'gameserver/event-handler/player-report.handler';
2424
import { PlayerReportedHandler } from 'gameserver/event-handler/player-reported.handler';
2525
import { LiveMatchUpdateHandler } from 'gameserver/event-handler/live-match-update.handler';
26-
import { StartFakeMatchHandler } from 'gameserver/event-handler/start-fake-match.handler';
2726
import { ServerStatusHandler } from 'gameserver/event-handler/server-status.handler';
2827
import { ProcessAchievementsHandler } from 'gameserver/command/ProcessAchievements/process-achievements.handler';
2928
import { AchievementService } from 'gameserver/achievement.service';
@@ -48,7 +47,6 @@ const CommandHandlers = [
4847
];
4948
const EventHandlers = [
5049
PlayerConnectedHandler,
51-
StartFakeMatchHandler,
5250
LiveMatchUpdateHandler,
5351
SrcdsServerStartedHandler,
5452

src/util/typeorm-config.ts

-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { GameServerSessionEntity } from 'gameserver/model/game-server-session.en
33
import { GameServerEntity } from 'gameserver/model/game-server.entity';
44
import { PlayerCrimeLogEntity } from 'gameserver/model/player-crime-log.entity';
55
import { MmrChangeLogEntity } from 'gameserver/model/mmr-change-log.entity';
6-
import { ReplayEntity } from 'gameserver/model/replay.entity';
76
import { LeaderboardView } from 'gameserver/model/leaderboard.view';
87
import { ItemView } from 'gameserver/model/item.view';
98
import { GameSeasonEntity } from 'gameserver/model/game-season.entity';
@@ -42,7 +41,6 @@ export const Entities: Function[] = [
4241
PlayerReportEntity,
4342
AchievementEntity,
4443

45-
ReplayEntity,
4644
LeaderboardView,
4745

4846
ItemView,

0 commit comments

Comments
 (0)