2018-03-09 03:01:12 -05:00
|
|
|
|
using System;
|
2018-06-16 22:11:25 -04:00
|
|
|
|
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
|
|
|
|
{
|
2018-06-16 22:11:25 -04: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
|
|
|
|
|
{
|
2018-07-30 20:31:00 -04:00
|
|
|
|
public EntityInfo GameInfo { get; set; }
|
2018-06-16 22:11:25 -04: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; }
|
|
|
|
|
public string Id { get; private set; } = Guid.NewGuid().ToString();
|
2018-03-09 03:01:12 -05:00
|
|
|
|
}
|
|
|
|
|
}
|