RynthSuite/Plugins/RynthCore.Plugin.RynthAi/Meta/LoadedMeta.cs
Tom Bohar 0a4b611a90 RynthSuite as of 2026-09-05 (internal a5ff5c2)
A snapshot of the working tree for aelrynth.com/git/: the code, build files
and public docs. Internal review notes and agent instructions are left out.
MIT licensed; see LICENSE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 21:23:05 -04:00

25 lines
866 B
C#

using System;
using System.Collections.Generic;
using RynthCore.Plugin.RynthAi.LegacyUi;
namespace RynthCore.Plugin.RynthAi.Meta;
/// <summary>
/// Result of loading a .af or .met file: rules plus any embedded NAV routes
/// that ship inside the macro. Embedded navs stay in memory — they are never
/// extracted to the NavProfiles folder.
/// </summary>
internal sealed class LoadedMeta
{
public List<MetaRule> Rules { get; set; } = new();
public Dictionary<string, List<string>> EmbeddedNavs { get; } =
new(StringComparer.OrdinalIgnoreCase);
/// <summary>
/// Non-fatal parse problems (unknown keywords, parse exception). Surfaced
/// to the user on load so a typo'd / unsupported meta is visible instead of
/// silently producing zero or partial rules.
/// </summary>
public List<string> Warnings { get; } = new();
}