BanListEuiState.cs 576 B

12345678910111213141516171819
  1. using Content.Shared.Eui;
  2. using Robust.Shared.Serialization;
  3. namespace Content.Shared.Administration.BanList;
  4. [Serializable, NetSerializable]
  5. public sealed class BanListEuiState : EuiStateBase
  6. {
  7. public BanListEuiState(string banListPlayerName, List<SharedServerBan> bans, List<SharedServerRoleBan> roleBans)
  8. {
  9. BanListPlayerName = banListPlayerName;
  10. Bans = bans;
  11. RoleBans = roleBans;
  12. }
  13. public string BanListPlayerName { get; }
  14. public List<SharedServerBan> Bans { get; }
  15. public List<SharedServerRoleBan> RoleBans { get; }
  16. }