SboxSuperuser/Api/CommandTargetPolicy.cs

Enum that declares policies for command argument target checks. It lists five policies: None, OnlinePlayer, AnyPlayer, PunitiveOnlinePlayer, and PunitiveAnyPlayer, with explicit integer values.

namespace SboxSuperuser;

/// <summary>Declares target rechecks; it never resolves or authorizes a target.</summary>
public enum CommandTargetPolicy
{
	/// <summary>None argument policy.</summary>
	None = 0,

	/// <summary>Online Player argument policy.</summary>
	OnlinePlayer = 1,

	/// <summary>Any Player argument policy.</summary>
	AnyPlayer = 2,

	/// <summary>Punitive Online Player argument policy.</summary>
	PunitiveOnlinePlayer = 3,

	/// <summary>Punitive Any Player argument policy.</summary>
	PunitiveAnyPlayer = 4,
}