예제 #1
0
    public void OpenPlayerInventoryOnly()
    {
        UpdateGoldText();

        if (!docksInterface.PlayerInventoryOpened)
        {
            docksInterface.OpenDocksPanel(false);
            docksInterface.OpenPlayerInventoryPanel(inventoryManager.GetPlayerInventoryEquipments);
            mapManager.SetPlayerNotPlayable();
            docksInterface.CloseSellerInventoryPanel();
            docksInterface.CloseSellerRebuyInventoryPanel();
            playerInventoryOnly = true;
            mapManager.ShipCompoManager.OpenEquipedEquipmentPanel();
        }
        else
        {
            docksInterface.CloseDocksPanel();
            docksInterface.ClosePlayerInventoryPanel();
            mapManager.SetPlayerPlayable();
            mapManager.ShipCompoManager.CloseEquipedEquipmentPanel();
        }
    }