quests and queststate work

This commit is contained in:
Boki 2026-03-05 11:26:30 -05:00
parent 94b460bbc8
commit 445ae1387c
27 changed files with 3815 additions and 179 deletions

View file

@ -1,5 +1,6 @@
using System.Numerics;
using Roboto.Core;
using Roboto.Memory;
namespace Roboto.Data;
@ -89,6 +90,18 @@ public sealed class GameDataCache
public volatile string? CurrentAreaName;
public volatile string? CharacterName;
// ── UI tree root pointer (updated at 10Hz) — tree is read on-demand ──
public volatile nint GameUiPtr;
// ── Quest groups from UI element tree (updated at 10Hz) ──
public volatile IReadOnlyList<UiQuestGroup>? UiQuestGroups;
// ── Quest linked lists from GameUi (updated at 10Hz) ──
public volatile IReadOnlyList<QuestLinkedEntry>? QuestLinkedList;
// ── Quest states from AreaInstance sub-object (updated at 10Hz) ──
public volatile IReadOnlyList<QuestStateEntry>? QuestStates;
// ── Full GameState (updated at 10Hz) — for systems that need the complete object ──
public volatile GameState? LatestState;