quests and queststate work
This commit is contained in:
parent
94b460bbc8
commit
445ae1387c
27 changed files with 3815 additions and 179 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue