Skip to content

Commit

Permalink
[Sonic Frontiers] Services: mapped GrindService
Browse files Browse the repository at this point in the history
Co-Authored-By: Ruben Tytgat <[email protected]>
  • Loading branch information
hyperbx and angryzor committed Oct 10, 2024
1 parent be41bad commit 0f9703b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Source/Sonic Frontiers/Libraries/Services.hmm
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,23 @@ Library "Services" by "Hyper"
}
}

/// <summary>
/// A struct representation of `app::game::GrindService`.
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 0x1E0)]
public struct GrindService
{
/// <summary>
/// An instance of `hh::game::GameService`, the base class for `app::game::GrindService`.
/// </summary>
[FieldOffset(0)] public GameService.Data GameService;

/// <summary>
/// Determines whether to show the procedural models for grind rails.
/// </summary>
[FieldOffset(0x1D0)] public bool ShowGrindRails;
}

/// <summary>
/// A struct representation of `app::level::LevelInfo`.
/// </summary>
Expand Down

0 comments on commit 0f9703b

Please sign in to comment.