Skip to content

Library Rangers GameObject

Gabriel edited this page Sep 26, 2023 · 5 revisions

GameObject

Provides access to hh::game::GameObject from Sonic Frontiers.

Functions;

  • GOComponent.Data* GetGOC(Data* in_pGameObject, string in_name) - returns a pointer to an instance of GOComponent.Data from the input game object by name.
  • T* GetGOC<T>(Data* in_pGameObject) - returns a pointer to an instance of a struct from the GOComponents library.

Types;

  • struct Data - a struct representation of hh::game::GameObject.
    • Members;
      • GameDocument.Data* pGameDocument - a pointer to an instance of app::GameDocument.
      • MoveArray<Memory.Pointer<GOComponent>> Components - an array of pointers to hh::game::GOComponent instances.
      • Helpers.UnmanagedString Name - the name of this game object.
    • Functions;
      • string ToString() - returns the Name member.
Clone this wiki locally