Code/SboxSuperuser/Core/Effects/EffectSymbol.cs

A small record type used by the SboxSuperuser effect system. It holds a built-in symbol name, its kind, editor help text, an example, and the min/max argument counts allowed for it.

namespace SboxSuperuser.Core.Effects;

/// <summary>A built-in name scripts can use, with the help text the editor shows for it.</summary>
internal sealed record EffectSymbol( string Name, EffectSymbolKind Kind, string Help, string Example, int MinArguments = 0, int MaxArguments = 0 );