Add event publishing for inventory and combat interactions
This commit is contained in:
10
GameCore/Events/InstantItemUsedEvent.cs
Normal file
10
GameCore/Events/InstantItemUsedEvent.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using GameCore.ECS;
|
||||
using GameCore.Events.Interfaces;
|
||||
|
||||
namespace GameCore.Events;
|
||||
|
||||
public readonly struct InstantItemUsedEvent(Entity picker, string itemId) : IEvent
|
||||
{
|
||||
public readonly Entity Picker = picker;
|
||||
public readonly string ItemId = itemId;
|
||||
}
|
||||
Reference in New Issue
Block a user