IW4M-Admin/Admin/Bans.cs

52 lines
953 B
C#
Raw Normal View History

2015-03-08 17:20:10 -04:00
using System;
using System.Collections.Generic;
using System.Text;
namespace IW4MAdmin
{
class Ban
{
public Ban(String Reas, String TargID, String From, DateTime time, String ip)
2015-03-08 17:20:10 -04:00
{
Reason = Reas;
npID = TargID;
bannedByID = From;
When = time;
IP = ip;
2015-03-08 17:20:10 -04:00
}
public String getReason()
{
return Reason;
}
public String getID()
{
return npID;
}
public String getBanner()
{
return bannedByID;
}
public String getIP()
{
return IP;
}
public String getWhen()
{
return When.ToString("yyyy-MM-dd HH:mm:ss"); ;
}
2015-03-08 17:20:10 -04:00
private String Reason;
private String npID;
private String bannedByID;
private DateTime When;
private String IP;
2015-03-08 17:20:10 -04:00
}
}