mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Add ItemPurchaseQueue
This commit is contained in:
parent
1a6ed6d556
commit
363e18ae8c
9 changed files with 445 additions and 13 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue