AdminManager can now load permissions for registered callback commands. (#6025)

This commit is contained in:
Vera Aguilera Puerto
2022-01-12 11:05:39 +01:00
committed by GitHub
parent 414225f463
commit c4bf0a9479
6 changed files with 123 additions and 106 deletions

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.Administration
/// <summary>
/// Specifies that a command can be executed by any player.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
[BaseTypeRequired(typeof(IConsoleCommand))]
[MeansImplicitUse]
public sealed class AnyCommandAttribute : Attribute