Example #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;
 }
Example #2
0
 public CharactersCreater(EnemySlider.Factory sliderFactory, EnemyFlyer.Factory flyerFactory,
                          EnemyBoss.Factory bossFactory, Player.Factory playerFactory)
 {
     _sliderFactory = sliderFactory;
     _flyerFactory  = flyerFactory;
     _bossFactory   = bossFactory;
     _playerFactory = playerFactory;
 }
Example #3
0
 public PlayerSpawner(Player.Factory playerFactory,
                      PlayerInstaller.PlayerSpawnSettings spawnSettings,
                      SignalBus signalBus)
 {
     _playerFactory = playerFactory;
     _spawnSettings = spawnSettings;
     _signalBus     = signalBus;
 }
Example #4
0
 public PlayerService(
     PlayerState playerState,
     InputService inputService,
     Player.Factory playerFactory
     )
 {
     this.playerState   = playerState;
     this.inputService  = inputService;
     this.playerFactory = playerFactory;
 }
 public ObjectControllerBase(
     Player.Factory playerFactory,
     Logger logger,
     PlayerManager PlayerManager,
     GlobalProvider globals,
     SettingsManager settingsManager,
     RelogManager relogManager,
     LoginSessionManager loginSessionManager)
 {
     _logger = logger;
     _loginSessionManager = loginSessionManager;
     _playerManager       = PlayerManager;
     _settingsManager     = settingsManager;
     _relogManager        = relogManager;
     _playerFactory       = playerFactory;
     _globals             = globals;
 }
Example #6
0
 public MoveObjectControllerImpl(
     Player.Factory playerFactory,
     Logger logger,
     PlayerManager PlayerManager,
     SettingsManager settingsManager,
     RelogManager relogManager,
     GlobalProvider globals,
     LoginSessionManager loginSessionManager) : base(
         playerFactory,
         logger.Scope("MoveObjectController"),
         PlayerManager,
         globals,
         settingsManager,
         relogManager,
         loginSessionManager)
 {
     _logger = logger;
 }
Example #7
0
 public PlayerPool(Player.Factory pool)
 {
     _playerFactory = pool;
 }
Example #8
0
 private void Init(Player.Factory playerFactory, List <Player> players)
 {
     _playerFactory = playerFactory;
     _players       = players;
 }
Example #9
0
 /// <summary>
 /// Constructor for <see cref="UserService"/>.
 /// </summary>
 public UserService(IPlayerManager playerManager, Player.Factory playerFactory)
 {
     _playerManager = playerManager;
     _playerFactory = playerFactory;
 }