2018-03-09 02:01:12 -06:00
|
|
|
|
using System;
|
|
|
|
|
|
2018-04-08 01:44:42 -05:00
|
|
|
|
namespace SharedLibraryCore.Dtos
|
2018-03-09 02:01:12 -06:00
|
|
|
|
{
|
2018-06-16 21:11:25 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 10:32:16 -06:00
|
|
|
|
/// This class wraps the information related to a generated event for the API
|
2018-06-16 21:11:25 -05:00
|
|
|
|
/// </summary>
|
2018-03-09 02:01:12 -06:00
|
|
|
|
public class EventInfo
|
|
|
|
|
{
|
2018-07-30 19:31:00 -05:00
|
|
|
|
public EntityInfo GameInfo { get; set; }
|
2018-06-16 21:11:25 -05:00
|
|
|
|
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 10:32:16 -06:00
|
|
|
|
public string Id { get; } = Guid.NewGuid().ToString();
|
2018-03-09 02:01:12 -06:00
|
|
|
|
}
|
|
|
|
|
}
|