This commit is contained in:
Boki 2026-03-04 16:49:30 -05:00
parent 0df70abad7
commit 0c14d78d8a
25 changed files with 1487 additions and 179 deletions

View file

@ -1,11 +1,11 @@
using Roboto.GameOffsets.States;
using Roboto.Memory;
namespace Roboto.Memory.States;
namespace Roboto.Memory.Objects;
/// <summary>
/// Reads AreaLoading state (slot 0). Individual field reads — the full struct is 3672B, wasteful to bulk-read.
/// </summary>
public sealed class AreaLoadingState : RemoteObject
public sealed class AreaLoading : RemoteObject
{
// AreaLoading struct field offsets
private const int IsLoadingOffset = 0x660;
@ -14,7 +14,7 @@ public sealed class AreaLoadingState : RemoteObject
public bool IsLoading { get; private set; }
public long TotalLoadingScreenTimeMs { get; private set; }
public AreaLoadingState(MemoryContext ctx) : base(ctx) { }
public AreaLoading(MemoryContext ctx) : base(ctx) { }
protected override bool ReadData()
{