public bool IsGoPort(DeckModel deckModel)
        {
            bool flag  = deckModel.GetFlagShip() != null;
            bool flag2 = !deckModel.HasBling();

            if (flag && flag2)
            {
                return(true);
            }
            return(false);
        }
        public void setDisable()
        {
            this.disableButtonList.Clear();
            int       currentAreaID = SingletonMonoBehaviour <AppInformation> .Instance.CurrentAreaID;
            DeckModel currentDeck   = SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck;

            if (currentDeck == null)
            {
                return;
            }
            bool flag = currentDeck.Count <= 0;

            if (!SingletonMonoBehaviour <AppInformation> .Instance.IsValidMoveToScene(Generics.Scene.Arsenal))
            {
                this.addDisableButton(6);
                this.addDisableButton(7);
            }
            if (flag || currentDeck.HasBling())
            {
                this.setDisableExceptStrategy();
            }
            this.setDisableWithDock();
            if (SingletonMonoBehaviour <AppInformation> .Instance.FlagShipModel != null && SingletonMonoBehaviour <AppInformation> .Instance.FlagShipModel.ShipType != 19)
            {
                this.getButton(Generics.Scene.ImprovementArsenal.ToString()).SetActive(false);
            }
            else
            {
                this.getButton(Generics.Scene.Arsenal.ToString()).SetActive(false);
                if (SingletonMonoBehaviour <PortObjectManager> .Instance.NowScene.ToLower() == Generics.Scene.Arsenal.ToString().ToLower())
                {
                    this.getButton(Generics.Scene.ImprovementArsenal.ToString()).SetActive(false);
                }
            }
            this.setNowSceneButtonDisable();
            this.ShortCutBtnManager.setDisableButton(this.disableButtonList);
        }