IW4M-Admin/SharedLibraryCore/Dtos/EventInfo.cs

19 lines
630 B
C#
Raw Normal View History

2018-03-09 03:01:12 -05:00
using System;
2018-04-08 02:44:42 -04:00
namespace SharedLibraryCore.Dtos
2018-03-09 03:01:12 -05:00
{
/// <summary>
2022-01-26 11:32:16 -05:00
/// 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; }
2022-01-26 11:32:16 -05:00
public string Id { get; } = Guid.NewGuid().ToString();
2018-03-09 03:01:12 -05:00
}
}