Code/SboxSuperuser/Api/AdminModuleAttribute.cs

Defines the AdminModuleAttribute marker attribute used by the SboxSuperuser admin framework. Modules tagged with it are created, installed and started automatically by the bootstrap at startup. The attribute itself holds no state or logic.

namespace SboxSuperuser;

/// <summary>
/// Loads this module automatically: when the bootstrap starts, Superuser creates it with its public parameterless
/// constructor, installs it and starts it, so adding the module's code to a game is all it takes.
/// </summary>
[AttributeUsage( AttributeTargets.Class, Inherited = false )]
public sealed class AdminModuleAttribute : Attribute
{
}