1
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Net.Project.B.Inventory
|
||||
/// </summary>
|
||||
public interface IPlayerInventory
|
||||
{
|
||||
int Size { get; }
|
||||
/// <summary>
|
||||
/// 背包
|
||||
/// </summary>
|
||||
@@ -31,6 +32,11 @@ namespace Net.Project.B.Inventory
|
||||
/// </summary>
|
||||
event Action<IRuntimeItem> OnUsedItem;
|
||||
|
||||
event Func<IRuntimeItem,bool> ConsumeFactory;
|
||||
|
||||
event Action<IRuntimeItem> OnConsumedItem;
|
||||
|
||||
void UseItem(int id);
|
||||
void ConsumeItem(int id);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user