A small immutable record type that represents a stock animation slot for the retargeter. It stores an Id, label, looping flag, sequence names, and a warning, and adds a computed ReplacementPrefix field string based on the Id.
#nullable enable annotations
using System;
using System.Collections.Generic;
using System.Linq;
namespace HumanoidRetargeter.Core.Target;
/// <summary>A supported stock graph slot, independent of the imported clip's format or rig.</summary>
public sealed record StockAnimationSlot(string Id, string Label, bool Looping, string[] Sequences, string Warning)
{
public string ReplacementPrefix => "hr_replace_" + Id + "_";
}