Exemple #1
0
        public ApiErrorManager(IApiService api, NoticeService notice, GameSceneManager scene)
        {
            _notice = notice;
            _scene  = scene;

            api.OnError += OnApiError;
        }
Exemple #2
0
        public StartupManager(MainThreadRunner runner, ServerSettings settings, AuthService auth, GameSceneManager scene, ClientStateService state)
        {
            _runner   = runner;
            _settings = settings;
            _auth     = auth;
            _scene    = scene;
            _state    = state;

            _nextRefreshTime = _minInterval;
        }
Exemple #3
0
 public void Init(
     GameSceneManager scene, ClientCommandRunner runner, ClientStateService state,
     LevelService service, UnitViewModel.Factory unit, UnitView.Factory view, RewardWindow.Factory winWindow, LoseWindow.Factory loseWindow
     )
 {
     _scene        = scene;
     _update       = runner.Updater;
     _state        = state;
     _service      = service;
     _unit         = unit;
     _view         = view;
     _rewardWindow = winWindow;
     _loseWindow   = loseWindow;
 }
Exemple #4
0
 public ReloadErrorHandleStrategy(GameSceneManager scene, ClientStateService state)
 {
     _scene = scene;
     _state = state;
 }