21 lines
573 B
C#
21 lines
573 B
C#
using System.Collections.Immutable;
|
|
using Content.Shared.Database;
|
|
using Robust.Shared.Network;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Administration.BanList;
|
|
|
|
[Serializable, NetSerializable]
|
|
public record SharedBan(
|
|
int? Id,
|
|
BanType Type,
|
|
ImmutableArray<NetUserId> UserIds,
|
|
ImmutableArray<(string address, int cidrMask)> Addresses,
|
|
ImmutableArray<string> HWIds,
|
|
DateTime BanTime,
|
|
DateTime? ExpirationTime,
|
|
string Reason,
|
|
string? BanningAdminName,
|
|
SharedUnban? Unban,
|
|
ImmutableArray<BanRoleDef>? Roles);
|