Esempio n. 1
0
 public LoginCompleteControllerImpl(
     Logger logger,
     LoginSessionManager loginSessionManager,
     SettingsManager settingsManager,
     DebuffManager debuffManager,
     PlayerManager playerManager,
     ServerDispatchController serverDispatchController,
     Debugger debugger,
     DebuffInformation.Factory debuffInformationFactory,
     Player.Factory playerFactory,
     MainView mainView)
 {
     _logger                   = logger.Scope("LoginCompleteController");
     _settingsManager          = settingsManager;
     _loginSessionManager      = loginSessionManager;
     _debuffInformationFactory = debuffInformationFactory;
     _debugger                 = debugger;
     _mainView                 = mainView;
     _playerManager            = playerManager;
     _playerFactory            = playerFactory;
     _serverDispatchController = serverDispatchController;
     _debuffManager            = debuffManager;
     _vitaeTimer               = new Timer();
     _vitaeTimer.Elapsed      += new ElapsedEventHandler(VitaeTimerChecker);
     _vitaeTimer.Interval      = 10000;
     _vitaeTimer.AutoReset     = false;
 }
 public ServerDispatchControllerImpl(
     PlayerManager playerManager,
     SettingsManager settingsManager,
     DeathManager deathManager,
     DebuffInformation.Factory debuffInformationFactory,
     Logger logger)
 {
     _logger                   = logger.Scope("ServerDispatchController");
     _playerManager            = playerManager;
     _settingsManager          = settingsManager;
     _deathManager             = deathManager;
     _debuffInformationFactory = debuffInformationFactory;
 }