Ejemplo n.º 1
0
        void SortContainer()
        {
            Inventory inventory = InventoryGui.instance.m_container.GetComponentInChildren <InventoryGrid>().GetInventory();

            InventoryUtils.Sort(inventory);
            Logger.LogDebug($"Sorted container inventory");
        }
Ejemplo n.º 2
0
 public static void Sort(Container container, int offset = 0)
 {
     InventoryUtils.Sort(container.GetInventory(), offset);
 }
Ejemplo n.º 3
0
 void SortPlayerInventory()
 {
     InventoryUtils.Sort(Player.m_localPlayer.GetInventory(), 8);
     Logger.LogDebug("Sorted player inventory");
 }