Files
reallife-gamemode/ReallifeGamemode.Server/Report/ReportManage.cs
Lennart Kampshoff ed95acc24d Code formatiert
2019-12-21 14:03:06 +01:00

47 lines
828 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace ReallifeGamemode.Server.Report
{
class ReportManage
{
private String user;
private String admin;
private String reportText;
private Boolean assigned;
public ReportManage(String nUser, string nReportText)
{
this.user = nUser;
this.admin = "N/A";
this.assigned = false;
this.reportText = nReportText;
}
public void assign(String nAdmin)
{
this.assigned = true;
this.admin = nAdmin;
}
public String getAdmin()
{
return this.admin;
}
public bool isAssigned()
{
return this.assigned;
}
public String getUser()
{
return this.user;
}
public String getReporttext()
{
return this.reportText;
}
}
}