Code/SboxSuperuser/Core/Prefixes/GroupRank.cs

A record struct holding a group id and an integer protection level, used to pick a player's group prefix by the highest level.

namespace SboxSuperuser.Core.Prefixes;

/// <summary>A group a player belongs to, with its protection level; the highest level picks the group prefix.</summary>
internal readonly record struct GroupRank( string GroupId, int Protection );