Skip to content

Library Rangers GameDocument

Gabriel edited this page Sep 26, 2023 · 3 revisions

GameDocument

Provides access to app::GameDocument from Sonic Frontiers.

Functions;

  • Data* Get() - returns a pointer to an instance of GameDocument.Data.
  • GameService.Data* GetService(string in_name) - returns a pointer to an instance of GameService.Data by name.
  • GameObject.Data* GetGameObject(string in_name - returns a pointer to an instance of GameObject.Data by name.

Types;

  • struct Data - a struct representation of app::GameDocument.
    • Members;
      • MoveArray<Memory.Pointer<GameObject.Data>> GameObjects - an array of pointers to hh::game::GameObject instances.
      • MoveArray<Memory.Pointer<GameService.Data>> GameServices - an array of pointers to hh::game::GameService instances.
      • MoveArray<long> GameManagerListeners - an array of pointers to hh::game::GameManagerListener instances.
      • MoveArray<long> GameObjectListeners - an array of pointers to hh::game::GameObjectListener instances.
      • MoveArray<long> ComponentListeners - an array of pointers to hh::game::ComponentListener instances.
      • MoveArray<long> GameStepListeners - an array of pointers to hh::game::GameStepListener instances.
Clone this wiki locally