Refactored inventory system

This commit is contained in:
hydrant
2018-12-19 21:14:36 +01:00
parent 98d6ecb01a
commit b16ed270c2
11 changed files with 43 additions and 29 deletions

View File

@@ -12,8 +12,8 @@ using System.Text;
namespace reallife_gamemode.Server.Inventory.Interfaces
{
public interface IDroppableItem : IUsableItem
public interface IDroppableItem : IItem
{
void Drop(UserItem uItem, Client player, int amount);
uint Object { get; }
}
}

View File

@@ -17,6 +17,5 @@ namespace reallife_gamemode.Server.Inventory.Interfaces
string Description { get; }
int Gewicht { get; }
string Einheit { get; }
uint Object { get; }
}
}

View File

@@ -14,6 +14,6 @@ namespace reallife_gamemode.Server.Inventory.Interfaces
{
public interface IUsableItem : IItem
{
void Use(UserItem uItem, Client player);
void Use(UserItem uItem);
}
}