Class Loader

#include <Geode/loader/Loader.hpp>
classLoader{ ... }
No description provided
Examples0
Public static methods1
staticgeode::Loader*get()
No description provided
Public member functions24
boolisForwardCompatMode()
No description provided
voidsaveData()
No description provided
voidloadData()
No description provided
geode::VersionInfogetVersion()
No description provided
geode::VersionInfominModVersion()
No description provided
geode::VersionInfomaxModVersion()
No description provided
boolisModVersionSupported()
No description provided
geode::Loader::LoadingStategetLoadingState()
No description provided
boolisModInstalled()const
No description provided
geode::Mod*getInstalledMod()const
No description provided
boolisModLoaded()const
No description provided
geode::Mod*getLoadedMod()const
No description provided
std::vector<geode::Mod*>getAllMods()
No description provided
std::vector<geode::LoadProblem>getAllProblems()const
No description provided
std::vector<geode::LoadProblem>getLoadProblems()const
No description provided
std::vector<geode::LoadProblem>getOutdated()const
No description provided
std::vector<geode::LoadProblem>getRecommendations()const
No description provided
std::vector<std::string>getLaunchArgumentNames()const

Returns the available launch argument names.

boolhasLaunchArgument()const

Returns whether the specified launch argument was passed in via the command line.

Parameters

name

The argument name
std::optional<std::string>getLaunchArgument()const

Get a launch argument. These are passed into the game as command-line arguments with the format --geode:arg-name=value.

Parameters

name

The argument name
Return value
The value, if present
boolgetLaunchFlag()const

Get a launch argument flag. Returns whether the argument is present and its value is exactly true.

Parameters

name

The argument name
template<class T>geode::Result<T>parseLaunchArgument()const

Get and parse a launch argument value using the setting value system.

Parameters

name

The argument name
voidqueueInMainThread()
No description provided
std::stringgetGameVersion()

Returns the current game version.

Return value
The game version
Fields0
Protected member functions1
geode::Mod*takeNextMod()
No description provided
Protected fields0