fBaseXtensions.Game.Hero.Backpack.InventoryBackPackToggle C# (CSharp) Method

InventoryBackPackToggle() public static method

public static InventoryBackPackToggle ( bool show ) : void
show bool
return void
        public static void InventoryBackPackToggle(bool show)
        {
            bool InvVisible = InventoryBackpackVisible();

            if (InvVisible && !show)
                UIElements.BackgroundScreenPCButtonInventory.Click();
            else if (!InvVisible && show)
                UIElements.BackgroundScreenPCButtonInventory.Click();
        }