Add event publishing for inventory and combat interactions

This commit is contained in:
2025-10-29 02:12:39 +01:00
parent bf15fad9ce
commit d6a31b12e3
14 changed files with 96 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
using GameCore.ECS;
using GameCore.Events.Interfaces;
using GameCore.Math;
namespace GameCore.Events;
public readonly struct HitscanImpactEvent(Entity owner, Vector3 from, Vector3 to, HitResult hit) : IEvent
{
public readonly Entity Owner = owner;
public readonly Vector3 From = from;
public readonly Vector3 To = to;
public readonly HitResult Hit = hit;
}