Class Loader

#include <Geode/loader/Loader.hpp>
classLoader{ ... }
No description provided
Examples0
Public static methods1
staticgeode::Loader*get()
No description provided
Public member functions19
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
intgetAllMods()
No description provided
intgetProblems()const
No description provided
intgetLaunchArgumentNames()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
voidqueueInMainThread()
No description provided
Fields0
Protected member functions1
geode::Mod*takeNextMod()
No description provided
Protected fields0