Role bans (#6703)
This commit is contained in:
19
Content.Server/Database/ServerRoleUnbanDef.cs
Normal file
19
Content.Server/Database/ServerRoleUnbanDef.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Robust.Shared.Network;
|
||||
|
||||
namespace Content.Server.Database;
|
||||
|
||||
public sealed class ServerRoleUnbanDef
|
||||
{
|
||||
public int BanId { get; }
|
||||
|
||||
public NetUserId? UnbanningAdmin { get; }
|
||||
|
||||
public DateTimeOffset UnbanTime { get; }
|
||||
|
||||
public ServerRoleUnbanDef(int banId, NetUserId? unbanningAdmin, DateTimeOffset unbanTime)
|
||||
{
|
||||
BanId = banId;
|
||||
UnbanningAdmin = unbanningAdmin;
|
||||
UnbanTime = unbanTime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user