Continuation of refactor

This commit is contained in:
2024-12-28 20:40:05 +01:00
parent 6dda79f8b2
commit e1a6f650fb
27 changed files with 158 additions and 236 deletions

View File

@ -1,10 +1,10 @@
import { Server } from 'socket.io'
import { Logger } from '#application/logger'
import Logger, { LoggerType } from '#application/logger'
import { TSocket } from '#application/types'
export abstract class BaseEvent {
protected readonly logger: Logger = new Logger('game')
protected readonly logger = Logger.type(LoggerType.GAME)
constructor(
readonly io: Server,