public LoginController(ILoginActions loginActions,
                        IMapFileLoadActions mapFileLoadActions,
                        IFileRequestActions fileRequestActions,
                        IGameStateActions gameStateActions,
                        IChatTextBoxActions chatTextBoxActions,
                        IErrorDialogDisplayAction errorDisplayAction,
                        IFirstTimePlayerActions firstTimePlayerActions,
                        IMapChangedActions mapChangedActions,
                        ISafeNetworkOperationFactory networkOperationFactory,
                        IGameLoadingDialogFactory gameLoadingDialogFactory,
                        ICurrentMapStateProvider currentMapStateProvider,
                        IStatusLabelSetter statusLabelSetter)
 {
     _loginActions             = loginActions;
     _mapFileLoadActions       = mapFileLoadActions;
     _fileRequestActions       = fileRequestActions;
     _gameStateActions         = gameStateActions;
     _chatTextBoxActions       = chatTextBoxActions;
     _errorDisplayAction       = errorDisplayAction;
     _firstTimePlayerActions   = firstTimePlayerActions;
     _mapChangedActions        = mapChangedActions;
     _networkOperationFactory  = networkOperationFactory;
     _gameLoadingDialogFactory = gameLoadingDialogFactory;
     _currentMapStateProvider  = currentMapStateProvider;
     _statusLabelSetter        = statusLabelSetter;
 }
 public AccountController(IAccountDialogDisplayActions accountDialogDisplayActions,
                          IErrorDialogDisplayAction errorDisplayAction,
                          IAccountActions accountActions,
                          IGameStateActions gameStateActions,
                          ISafeNetworkOperationFactory networkOperationFactory)
 {
     _accountDialogDisplayActions = accountDialogDisplayActions;
     _errorDisplayAction          = errorDisplayAction;
     _accountActions          = accountActions;
     _gameStateActions        = gameStateActions;
     _networkOperationFactory = networkOperationFactory;
 }
Beispiel #3
0
 public void SetCallbacks(IGameStateActions instance)
 {
     if (m_Wrapper.m_GameStateActionsCallbackInterface != null)
     {
         @Pause.started   -= m_Wrapper.m_GameStateActionsCallbackInterface.OnPause;
         @Pause.performed -= m_Wrapper.m_GameStateActionsCallbackInterface.OnPause;
         @Pause.canceled  -= m_Wrapper.m_GameStateActionsCallbackInterface.OnPause;
     }
     m_Wrapper.m_GameStateActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Pause.started   += instance.OnPause;
         @Pause.performed += instance.OnPause;
         @Pause.canceled  += instance.OnPause;
     }
 }
Beispiel #4
0
 public CharacterManagementController(ICharacterManagementActions characterManagementActions,
                                      IErrorDialogDisplayAction errorDialogDisplayAction,
                                      ICharacterDialogActions characterDialogActions,
                                      IBackgroundReceiveActions backgroundReceiveActions,
                                      INetworkConnectionActions networkConnectionActions,
                                      IGameStateActions gameStateActions,
                                      ICharacterSelectorRepository characterSelectorRepository)
 {
     _characterManagementActions  = characterManagementActions;
     _errorDialogDisplayAction    = errorDialogDisplayAction;
     _characterDialogActions      = characterDialogActions;
     _backgroundReceiveActions    = backgroundReceiveActions;
     _networkConnectionActions    = networkConnectionActions;
     _gameStateActions            = gameStateActions;
     _characterSelectorRepository = characterSelectorRepository;
 }
Beispiel #5
0
 public ChatController(IChatTextBoxActions chatTextBoxActions,
                       IChatActions chatActions,
                       IPrivateMessageActions privateMessageActions,
                       IGameStateActions gameStateActions,
                       IErrorDialogDisplayAction errorDisplayAction,
                       IChatBubbleActions chatBubbleActions,
                       ISafeNetworkOperationFactory safeNetworkOperationFactory,
                       IHudControlProvider hudControlProvider)
 {
     _chatTextBoxActions          = chatTextBoxActions;
     _chatActions                 = chatActions;
     _privateMessageActions       = privateMessageActions;
     _gameStateActions            = gameStateActions;
     _errorDisplayAction          = errorDisplayAction;
     _chatBubbleActions           = chatBubbleActions;
     _safeNetworkOperationFactory = safeNetworkOperationFactory;
     _hudControlProvider          = hudControlProvider;
 }
 public MainButtonController(INetworkConnectionActions networkConnectionActions,
                             IErrorDialogDisplayAction errorDialogDisplayAction,
                             IPacketProcessActions packetProcessActions,
                             IBackgroundReceiveActions backgroundReceiveActions,
                             IGameStateActions gameStateActions,
                             IAccountDialogDisplayActions accountDialogDisplayActions,
                             IResetStateAction resetStateAction,
                             IConnectionStateProvider connectionStateProvider,
                             ISafeNetworkOperationFactory networkOperationFactory)
 {
     _networkConnectionActions    = networkConnectionActions;
     _errorDialogDisplayAction    = errorDialogDisplayAction;
     _packetProcessActions        = packetProcessActions;
     _backgroundReceiveActions    = backgroundReceiveActions;
     _gameStateActions            = gameStateActions;
     _accountDialogDisplayActions = accountDialogDisplayActions;
     _resetStateAction            = resetStateAction;
     _connectionStateProvider     = connectionStateProvider;
     _networkOperationFactory     = networkOperationFactory;
 }