SboxSuperuser/Api/AdminPlayerRow.cs

A simple data class representing an online player for admin UI or moderation. It stores the Steam ID used for actions and a sanitized display name.

namespace SboxSuperuser;

/// <summary>One online player visible to an authorized moderation reader.</summary>
public sealed class AdminPlayerRow
{
	/// <summary>Gets the exact Steam ID used for selection and actions.</summary>
	public string SteamId { get; init; }

	/// <summary>Gets the host's sanitized display name.</summary>
	public string Name { get; init; }
}