IW4M-Admin/SharedLibraryCore/Dtos/EventInfo.cs

20 lines
681 B
C#
Raw Normal View History

2018-03-09 03:01:12 -05:00
using System;
using static SharedLibraryCore.GameEvent;
2018-03-09 03:01:12 -05:00
2018-04-08 02:44:42 -04:00
namespace SharedLibraryCore.Dtos
2018-03-09 03:01:12 -05:00
{
/// <summary>
/// This class wraps the information related to a generated event for the API
/// </summary>
2018-03-09 03:01:12 -05:00
public class EventInfo
{
public EntityInfo GameInfo { get; set; }
public EntityInfo OriginEntity { get; set; }
public EntityInfo TargetEntity { get; set; }
public EntityInfo EventType { get; set; }
public EntityInfo OwnerEntity { get; set; }
public DateTime EventTime { get; set; }
public string ExtraInfo { get; set; }
public string Id { get; private set; } = Guid.NewGuid().ToString();
2018-03-09 03:01:12 -05:00
}
}