Add ItemPurchaseQueue

This commit is contained in:
SilicaAndPina 2021-06-27 18:41:29 +12:00
parent 1a6ed6d556
commit 363e18ae8c
9 changed files with 445 additions and 13 deletions

View file

@ -90,6 +90,11 @@ namespace HISP.Game.Items
}
}
public struct ItemPurchaseQueueItem
{
public int ItemId;
public int ItemCount;
}
public static void UseItem(User user, ItemInstance item)
{
if (user.Inventory.HasItem(item.RandomId))