// ------------------------------------------------------------------------ // Copyright (c) 2021-2026, Jiaqi (0x7c13) Liu. All rights reserved. // See LICENSE file in the project root for license information. // ------------------------------------------------------------------------ namespace Pal3.Core.Command { using System; /// /// Attribute for SceCommands /// Id: SceCommand ID /// Description: Command description /// UserVariableMask: SceCommand property user variable mask /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public sealed class SceCommandAttribute : Attribute { public SceCommandAttribute(ushort commandId, string description) { CommandId = commandId; Description = description; } /// /// SceCommand Id /// public ushort CommandId { get; } /// /// Description of the command /// public string Description { get; } } }