Exemplo n.º 1
0
        public override void SetupWindow()
        {
            base.SetupWindow();
            titleContent.text = WindowName();
            _outputNamespace  = Singleton.UMVC.Instance.Settings.outputNamespace;
            model             = Singleton.UMVC.Instance.Settings.model;
            controller        = Singleton.UMVC.Instance.Settings.controller;
            view = Singleton.UMVC.Instance.Settings.view;

            _serializedGameObject = new SerializedObject(this);
            _serializedModel      = _serializedGameObject.FindProperty("model");
            _serializedController = _serializedGameObject.FindProperty("controller");
            _serializedView       = _serializedGameObject.FindProperty("view");
        }
Exemplo n.º 2
0
        public BarcelonaController(SedeTaskData user,
                                   SedeCheckerProxyAdressDTO proxy,
                                   ILogger logger,
                                   IRecaptchaV2Resolver recaptchaV2Resolver,
                                   SeaSettings settings) : base()
        {
            this.UserData = user;

            this._logger = logger;

            this._proxy = proxy;

            _settings = settings;

            _controllerSettings = settings.ControllerSettings;

            _scripts = settings.SedeScripts.Scripts;

            _f = new FileService(_logger);

            CaptchaResolver = recaptchaV2Resolver;
        }
        public ConstitutionController(ConstitutionTaskData user,
                                      SedeCheckerProxyAdressDTO proxy,
                                      ILogger logger,
                                      IRecaptchaV2Resolver recaptchaV2Resolver,
                                      SeaSettings settings,
                                      ScriptsSettings scripts)
        {
            this.UserData = user;

            this._logger = logger;

            this._settings = settings.ControllerSettings;

            _s = settings;

            this._proxy = proxy;

            _scripts = scripts.Scripts;

            _f = new FileService(_logger);

            CaptchaResolver = recaptchaV2Resolver;
        }