FGantryCoreModule
ClassGantryCoreC++ only
The GantryCore runtime module: the shared pieces every other Gantry module builds on.
It provides:
- messages and hooks on gameplay-tag channels (
UGantryMessageSubsystem); - the channel registry, which lists the channels a game declares (
FGantryChannelRegistry); - the game's declared API and its manifest (
FGantryAPI,UGantryAPIManifest); - schema hashes of code modules, so content cooked against another build is refused (GantrySchema);
- UI extension slots (
UGantryUIExtensionSubsystem); - result codes and handles shared by every module (
FGantryStatus,FGantryHandle); - checks that the gameplay tags a system depends on exist (GantryTagRegistry);
- class selection, which lets a game replace a Gantry subsystem with its own subclass.
Its project settings are under Project Settings > Plugins > Gantry Core.
Members
StartupModule
virtual void
Registers the console commands and defers tag validation until the engine is initialised.
ShutdownModule
virtual void
Unregisters the console commands and the post-init callback.
SupportsDynamicReloading
virtual bool
Returns true.
A reload starts the channel registry and the API and schema caches empty.
GetPtr
static FGantryCoreModule *
The loaded module, or null if it is not loaded.
GetPluginBaseDir
static FString
Absolute path to the Gantry plugin's base directory, or empty if the plugin is not found.