IW4M-Admin/SharedLibraryCore/Dtos/EventInfo.cs
RaidMax 4ec16d3aa2 increased max events for event api to 100
added GameInfo to EventInfo class
make sure score gets updated properly after authentication
2018-07-30 19:31:00 -05:00

20 lines
681 B
C#

using System;
using static SharedLibraryCore.GameEvent;
namespace SharedLibraryCore.Dtos
{
/// <summary>
/// This class wraps the information related to a generated event for the API
/// </summary>
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();
}
}