Files
tbd-station-14/Content.Server/Database/ServerUnbanDef.cs
DrSmugleaf f4978d1b9e Add pardon command and tests (#3190)
* Add pardon command

* Make pardoning check for an existing ban and unban first

* Add pardon test and documentation
2021-02-13 17:51:54 +01:00

22 lines
493 B
C#

using System;
using Robust.Shared.Network;
namespace Content.Server.Database
{
public sealed class ServerUnbanDef
{
public int BanId { get; }
public NetUserId? UnbanningAdmin { get; }
public DateTimeOffset UnbanTime { get; }
public ServerUnbanDef(int banId, NetUserId? unbanningAdmin, DateTimeOffset unbanTime)
{
BanId = banId;
UnbanningAdmin = unbanningAdmin;
UnbanTime = unbanTime;
}
}
}