WeaponImporter/Engine/OverlayInfo.cs

Plain data class describing a replacement character animation for an action. Holds the role, source model, sequence name, blend time and a list of combo variants, serialized with System.Text.Json.

using System.Text.Json;

namespace WeaponImporter.Engine;

/// <summary>A replacement character animation for one action.</summary>
public sealed class OverlayInfo
{
    public string Role;
    /// <summary>Model that owns the sequence ("" = the character's own model). Must share the character's skeleton.</summary>
    public string Model;
    public string Sequence;
    /// <summary>Fade in/out time in seconds.</summary>
    public float Blend = 0.2f;
    /// <summary>More sequences of the same model played in turn with <see cref="Sequence"/> (attack combos).</summary>
    public List<string> Variants = new();
}