mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 15:52:25 -05:00
Massive refactoring and rudimentary plugin support.
This commit is contained in:
30
SharedLibary/Ban.cs
Normal file
30
SharedLibary/Ban.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace SharedLibrary
|
||||
{
|
||||
public class Ban
|
||||
{
|
||||
public Ban(String Reas, String TargID, String From, DateTime time, String ip)
|
||||
{
|
||||
Reason = Reas;
|
||||
npID = TargID;
|
||||
bannedByID = From;
|
||||
When = time;
|
||||
IP = ip;
|
||||
}
|
||||
|
||||
public String getWhen()
|
||||
{
|
||||
return When.ToString("MM/dd/yy HH:mm:ss"); ;
|
||||
}
|
||||
|
||||
public String Reason { get; private set; }
|
||||
public String npID { get; private set; }
|
||||
public String bannedByID { get; private set; }
|
||||
public DateTime When { get; private set; }
|
||||
public String IP { get; private set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user