# Conflicts: # Content.Client/Administration/UI/BanList/BanListLine.xaml.cs # Content.Client/Administration/UI/BanList/Bans/BanListHeader.xaml # Content.Client/Administration/UI/BanList/Bans/BanListLine.xaml # Content.Client/Administration/UI/Tabs/AdminTab/BanWindow.xaml # Content.Client/Administration/UI/Tabs/AdminTab/BanWindow.xaml.cs # Content.IntegrationTests/Tests/Commands/PardonCommand.cs # Content.Server/Administration/Commands/BanCommand.cs # Content.Server/Administration/Commands/DepartmentBanCommand.cs # Content.Server/Administration/Commands/RoleBanCommand.cs # Content.Server/Administration/Managers/RoleBanManager.cs # Content.Server/Database/ServerDbManager.cs # Content.Server/Database/ServerDbPostgres.cs # Content.Server/Database/ServerDbSqlite.cs
20 lines
579 B
C#
20 lines
579 B
C#
using Robust.Shared.Network;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Administration.BanList;
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed record SharedServerRoleBan(
|
|
int? Id,
|
|
NetUserId? UserId,
|
|
(string address, int cidrMask)? Address,
|
|
string? HWId,
|
|
DateTime BanTime,
|
|
DateTime? ExpirationTime,
|
|
string Reason,
|
|
string? BanningAdminName,
|
|
SharedServerUnban? Unban,
|
|
string Role,
|
|
string ServerName
|
|
) : SharedServerBan(Id, UserId, Address, HWId, BanTime, ExpirationTime, Reason, BanningAdminName, Unban, ServerName);
|