using Content.Shared.Eui; using Content.Shared.Roles; using Robust.Shared.Prototypes; using Robust.Shared.Serialization; namespace Content.Shared._DV.Administration; [Serializable, NetSerializable] public sealed class JobWhitelistsEuiState : EuiStateBase { public string PlayerName; public HashSet> Whitelists; public JobWhitelistsEuiState(string playerName, HashSet> whitelists) { PlayerName = playerName; Whitelists = whitelists; } } /// /// Tries to add or remove a whitelist of a job for a player. /// [Serializable, NetSerializable] public sealed class SetJobWhitelistedMessage : EuiMessageBase { public ProtoId Job; public bool Whitelisting; public SetJobWhitelistedMessage(ProtoId job, bool whitelisting) { Job = job; Whitelisting = whitelisting; } }