#include <KartParamFileManager.hh>
Abstraction for the process of retrieving kart parameters from files.
This has been modified from the base game in order to perform validation and make the class accessible as a singleton.
Definition at line 12 of file KartParamFileManager.hh.
Classes | |
struct | FileInfo |
struct | ParamFile |
Public Member Functions | |
void | clear () |
void | init () |
Loads and validates the kart parameter files. | |
EGG::RamStream | getDriverStream (Character character) const |
EGG::RamStream | getVehicleStream (Vehicle vehicle) const |
EGG::RamStream | getHitboxStream (Vehicle vehicle) const |
EGG::RamStream | getBikeDispParamsStream (Vehicle vehicle) const |
Static Public Member Functions | |
static KartParamFileManager * | CreateInstance () |
static void | DestroyInstance () |
static KartParamFileManager * | Instance () |
Private Member Functions | |
bool | validate () const |
Performs a few checks to make sure the files were loaded successfully. | |
![]() |
Private Attributes | |
FileInfo | m_kartParam |
FileInfo | m_driverParam |
FileInfo | m_bikeDispParam |
Static Private Attributes | |
static KartParamFileManager * | s_instance = nullptr |
Additional Inherited Members | |
![]() | |
static constexpr u16 | getLinkOffset () |
|
private |
Definition at line 119 of file KartParamFileManager.cc.
|
overrideprivate |
Definition at line 123 of file KartParamFileManager.cc.
|
0x80591C9C |
Definition at line 6 of file KartParamFileManager.cc.
|
static |
Definition at line 106 of file KartParamFileManager.cc.
|
static |
Definition at line 112 of file KartParamFileManager.cc.
|
nodiscard |
Definition at line 92 of file KartParamFileManager.cc.
|
nodiscard |
Definition at line 23 of file KartParamFileManager.cc.
|
nodiscard |
Definition at line 78 of file KartParamFileManager.cc.
|
nodiscard |
Definition at line 67 of file KartParamFileManager.cc.
|
0x805919F4 |
Loads and validates the kart parameter files.
Definition at line 14 of file KartParamFileManager.cc.
|
inlinestaticnodiscard |
Definition at line 24 of file KartParamFileManager.hh.
|
nodiscardprivate |
Performs a few checks to make sure the files were loaded successfully.
Definition at line 131 of file KartParamFileManager.cc.
|
private |
Definition at line 57 of file KartParamFileManager.hh.
|
private |
Definition at line 56 of file KartParamFileManager.hh.
|
private |
Definition at line 55 of file KartParamFileManager.hh.
|
staticprivate |
Definition at line 59 of file KartParamFileManager.hh.