SboxSuperuser/Core/Prefixes/GroupRank.cs

A tiny value type in the SboxSuperuser core prefixes namespace. Pairs a group id string with an int protection level so the highest level can pick a group prefix. It holds no logic.

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 );