using Robust.Shared.Serialization;
namespace Content.Shared.Administration;
///
/// Request event to get the list of online administrators
///
[Serializable, NetSerializable]
public sealed class RequestAdminWhoEvent : EntityEventArgs
{
}
///
/// Response event containing the list of online administrators
///
[Serializable, NetSerializable]
public sealed class AdminWhoResponseEvent : EntityEventArgs
{
public readonly List Admins;
public AdminWhoResponseEvent(List admins)
{
Admins = admins;
}
}
///
/// Information about a single administrator
///
[Serializable, NetSerializable]
public sealed class AdminWhoEntry
{
public readonly string Name;
public readonly string? Title;
public readonly bool IsStealth;
public readonly bool IsAfk;
public AdminWhoEntry(string name, string? title, bool isStealth, bool isAfk)
{
Name = name;
Title = title;
IsStealth = isStealth;
IsAfk = isAfk;
}
}