Refactored inventory system
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,5 @@ namespace reallife_gamemode.Server.Inventory.Interfaces
|
||||
string Description { get; }
|
||||
int Gewicht { get; }
|
||||
string Einheit { get; }
|
||||
uint Object { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,6 @@ namespace reallife_gamemode.Server.Inventory.Interfaces
|
||||
{
|
||||
public interface IUsableItem : IItem
|
||||
{
|
||||
void Use(UserItem uItem, Client player);
|
||||
void Use(UserItem uItem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user