public void CloseSettingView()
        {
            bool flag = this._serviceLayer != null;

            if (flag)
            {
                this._serviceLayer.ReleaseMovie(this._currentMovie);
                this._parentScreen.RemoveLayer(this._serviceLayer);
                this._serviceLayer.InputRestrictions.ResetInputRestrictions();
                this._serviceLayer = null;
                this.clanServiceVM = null;
                this.RefreshValues();
            }
        }
        public void ShowClanServiceView()
        {
            bool flag = this._serviceLayer == null;

            if (flag)
            {
                this._serviceLayer = new GauntletLayer(200, "GauntletLayer");
                this.clanServiceVM = new VassalServiceVM(this, this._parentScreen, new Action(OpenBannerEditorWithPlayerClan));
                this._currentMovie = this._serviceLayer.LoadMovie("VassalService", this.clanServiceVM);
                this._serviceLayer.IsFocusLayer = true;
                ScreenManager.TrySetFocus(this._serviceLayer);
                this._serviceLayer.Input.RegisterHotKeyCategory(HotKeyManager.GetCategory("GenericPanelGameKeyCategory"));
                this._parentScreen.AddLayer(this._serviceLayer);
                this._serviceLayer.InputRestrictions.SetInputRestrictions(true, InputUsageMask.All);
            }
        }