Editor/Core/Analysis/AnimationGuess.cs

Editor-side record type for the weapon importer's animation analysis. Holds a guessed animation role, a confidence value, a reason string and an optional first/third-person perspective.

#nullable enable annotations

namespace WeaponImporter.EditorTools.Core.Analysis;

/// <summary>A guess at an animation's role, with how sure the classifier is.</summary>
public sealed record AnimationGuess(string Animation, AnimationRole Role, float Confidence, string Reason)
{
    /// <summary>First-person (view model) or third-person (world / body) clip, when the name says so.</summary>
    public AnimationPerspective Perspective { get; init; }
}