feat(a1): .NET 8 solution scaffold + Model + OpcodeTable loader

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-07-06 13:49:02 -04:00
parent a2b49445b1
commit ae495967f9
14 changed files with 196 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
namespace Age.Engine.Model;
public sealed class Script
{
public required ScriptHeader Header { get; init; }
public required IReadOnlyList<Instruction> Instructions { get; init; }
public required IReadOnlyDictionary<int, int> IndexByOffset { get; init; }
public required IReadOnlyDictionary<int, string> Strings { get; init; }
public string GetString(int offset) => Strings.TryGetValue(offset, out var s) ? s : "";
}