Code/HumanoidRetargeter/Core/AliasAttribute.cs

Stand-in for the engine's AliasAttribute, used outside s&box (dev harness and tests) so Core types can keep their old full names. Compiled out when SANDBOX is defined.

#if !SANDBOX
namespace HumanoidRetargeter.Core;

/// <summary>
/// Plain-.NET stand-in for the engine's global <c>AliasAttribute</c>, so Core types can carry their
/// pre-restructure full names (other libraries bind them by name through TypeLibrary) and still
/// build in the dev harness and tests. Compiled out of every s&amp;box build (SANDBOX is defined there),
/// where the engine's own attribute is used.
/// </summary>
[AttributeUsage( AttributeTargets.All, AllowMultiple = true )]
internal sealed class AliasAttribute : Attribute
{
	public AliasAttribute( params string[] value ) => Value = value;

	public string[] Value { get; }
}
#endif