1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-16 10:09:14 -05:00

changes and vpn checking

This commit is contained in:
RaidMax
2018-03-09 02:01:12 -06:00
parent 2f81d0e764
commit df3bd05f87
42 changed files with 362 additions and 1209 deletions

View File

@ -0,0 +1,39 @@
using System;
namespace SharedLibrary.Dtos
{
public class EventInfo
{
public EventInfo(EventType Ty, EventVersion V, string M, string T, string O, string Ta)
{
Type = Ty;
Version = V;
Message = System.Web.HttpUtility.HtmlEncode(M);
Title = T;
Origin = System.Web.HttpUtility.HtmlEncode(O);
Target = System.Web.HttpUtility.HtmlEncode(Ta);
ID = Math.Abs(DateTime.Now.GetHashCode());
}
public enum EventType
{
NOTIFICATION,
STATUS,
ALERT,
}
public enum EventVersion
{
IW4MAdmin
}
public EventType Type;
public EventVersion Version;
public string Message;
public string Title;
public string Origin;
public string Target;
public int ID;
}
}