2022-11-14 20:06:55 +01:00
|
|
|
|
using Robust.Shared.Network;
|
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Administration.BanList;
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
2023-09-22 14:08:28 -07:00
|
|
|
|
public record SharedServerBan(
|
2022-11-14 20:06:55 +01:00
|
|
|
|
int? Id,
|
|
|
|
|
|
NetUserId? UserId,
|
|
|
|
|
|
(string address, int cidrMask)? Address,
|
|
|
|
|
|
string? HWId,
|
|
|
|
|
|
DateTime BanTime,
|
|
|
|
|
|
DateTime? ExpirationTime,
|
|
|
|
|
|
string Reason,
|
|
|
|
|
|
string? BanningAdminName,
|
|
|
|
|
|
SharedServerUnban? Unban
|
|
|
|
|
|
);
|