Files
TorchRemote/TorchRemote.Models/Responses/PlayerResponse.cs
2022-10-04 20:25:14 +07:00

21 lines
690 B
C#

namespace TorchRemote.Models.Responses;
public record PlayerResponse(ulong ClientId, string Name, PlayerPromoteLevel PromoteLevel);
public enum PlayerPromoteLevel
{
/// <summary>Normal players</summary>
None,
/// <summary>Can edit scripts when the scripter role is enabled</summary>
Scripter,
/// <summary>
/// Can kick and ban players, has access to 'Show All Players' option in Admin Tools menu
/// </summary>
Moderator,
/// <summary>Has access to Space Master tools</summary>
SpaceMaster,
/// <summary>Has access to Admin tools</summary>
Admin,
/// <summary>Admins listed in server config, cannot be demoted</summary>
Owner,
}