Files
Ragon/Ragon.Core/Game/EntityEvent.cs
T

24 lines
485 B
C#
Raw Normal View History

2022-09-06 22:39:52 +04:00
using Ragon.Common;
2022-12-16 00:05:46 +04:00
namespace Ragon.Core.Game;
2022-09-06 22:39:52 +04:00
public class EntityEvent
{
2022-12-17 14:05:53 +04:00
public RoomPlayer Invoker { get; private set; }
public ushort EventId { get; private set; }
public byte[] EventData { get; private set; }
public RagonTarget Target { set; private get; }
public EntityEvent(
RoomPlayer invoker,
ushort eventId,
byte[] payload,
RagonTarget target
)
{
Invoker = invoker;
EventId = eventId;
EventData = payload;
Target = target;
}
2022-09-06 22:39:52 +04:00
}