public HandshakeHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IWorldServer server, IInterServerClient interClient, ISelectionScreenManager selectionScreenManager) : base(packetFactory, gameSession) { _server = server; _interClient = interClient; _selectionScreenManager = selectionScreenManager; _interClient.OnSessionResponse += InitGameSession; }
public GameSession(ILogger <GameSession> logger, IGamePacketFactory packetFactory, IGameWorld gameWorld, ISelectionScreenManager selectionScreenManager) { _logger = logger; _packetFactory = packetFactory; _gameWorld = gameWorld; _selectionScreenManager = selectionScreenManager; _logoutTimer.Elapsed += LogoutTimer_Elapsed; #if DEBUG _logger.LogDebug("GameSession {hashcode} created", GetHashCode()); #endif }
public RestoreCharacterHandler(IGamePacketFactory packetFactory, IGameSession gameSession, ISelectionScreenManager selectionScreenManager) : base(packetFactory, gameSession) { _selectionScreenManager = selectionScreenManager; }
public LogOutHandler(IGamePacketFactory packetFactory, IGameSession gameSession, ISelectionScreenManager selectionScreenManager) : base(packetFactory, gameSession) { }