UnrealModFramework
Mod framework API
Loading...
Searching...
No Matches
Mod::API::FGeneratedHostRegistration Class Reference

Publishes a generated module's registration entry point until unload. More...

#include <ModAPIHost.h>

Public Types

using FRegister = void (*)(FRegistry&, TModResult<TArray<FRegistration>>&)
 Signature of a generated registration entry point.

Public Member Functions

 FGeneratedHostRegistration (FRegister InRegister, const TCHAR *InModule=nullptr, const TCHAR *InExportHash=nullptr)
 Publishes an entry point for future game instances.
 ~FGeneratedHostRegistration ()
 Withdraws the entry point and invalidates its live type registrations.

Static Public Member Functions

static void DescribeContracts (TArray< FString > &Digests)
 Collects the distinct export digests registered by this host.

Detailed Description

Publishes a generated module's registration entry point until unload.

Constructor & Destructor Documentation

◆ FGeneratedHostRegistration()

Mod::API::FGeneratedHostRegistration::FGeneratedHostRegistration ( FRegister InRegister,
const TCHAR * InModule = nullptr,
const TCHAR * InExportHash = nullptr )
explicit

Publishes an entry point for future game instances.

Parameters
InRegisterThe generated entry point in the owning module.
InModuleThe module that owns the native query, when present.
InExportHashThe generated export contract digest, when present.

The documentation for this class was generated from the following file: