public void SetDeckShipDetailButtons(ShipModel ship, IOrganizeManager manager = null, MonoBehaviour CallBackTarget = null)
        {
            this.isDeckShipDetail = true;
            this.ship             = ship;
            bool flag = (manager != null) ? manager.IsValidShip(ship.MemId) : this.IsValidShip();

            this.LeftButton.SetActive(true);
            this.setChangeButton(this.LeftButton, flag, CallBackTarget);
            this.setUnsetButton(this.RightButton, manager, CallBackTarget);
            this.buttonManager.nowForcusButton = ((!flag) ? this.RightButton : this.LeftButton);
            this.LockSwitch.SetActive(false);
            if (ship.IsBling() && ship.IsInDeck() != -1)
            {
                this.buttonManager.setFocus(1);
            }
            GameObject backBG = (!(CallBackTarget == null)) ? CallBackTarget.get_gameObject() : null;

            this.setBackBG(backBG);
        }
        public void SetDeckShipDetailButtons(ShipModel ship, IOrganizeManager manager = null, MonoBehaviour CallBackTarget = null)
        {
            isDeckShipDetail = true;
            this.ship        = ship;
            bool flag = manager?.IsValidShip(ship.MemId) ?? IsValidShip();

            LeftButton.SetActive(isActive: true);
            setChangeButton(LeftButton, flag, CallBackTarget);
            setUnsetButton(RightButton, manager, CallBackTarget);
            buttonManager.nowForcusButton = ((!flag) ? RightButton : LeftButton);
            LockSwitch.SetActive(isActive: false);
            if (ship.IsBling() && ship.IsInDeck() != -1)
            {
                buttonManager.setFocus(1);
            }
            GameObject backBG = (!(CallBackTarget == null)) ? CallBackTarget.gameObject : null;

            setBackBG(backBG);
        }