mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
Intial Commit of Version 0.1
This commit is contained in:
39
Admin/Bans.cs
Normal file
39
Admin/Bans.cs
Normal file
@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace IW4MAdmin
|
||||
{
|
||||
class Ban
|
||||
{
|
||||
public Ban(String Reas, String TargID, String From)
|
||||
{
|
||||
Reason = Reas;
|
||||
npID = TargID;
|
||||
bannedByID = From;
|
||||
When = DateTime.Now;
|
||||
}
|
||||
|
||||
public String getReason()
|
||||
{
|
||||
return Reason;
|
||||
}
|
||||
|
||||
public String getID()
|
||||
{
|
||||
return npID;
|
||||
}
|
||||
|
||||
public String getBanner()
|
||||
{
|
||||
return bannedByID;
|
||||
}
|
||||
|
||||
private String Reason;
|
||||
private String npID;
|
||||
private String bannedByID;
|
||||
private DateTime When;
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user