UnrealModFramework
Mod framework API
Loading...
Searching...
No Matches
Mod::Loader::FNativeLibrary Class Referencefinal

Keeps native callbacks resident until their World session has drained. More...

#include <ModNativeLibrary.h>

Public Member Functions

 FNativeLibrary ()=default
 Starts without a loaded extension.
 ~FNativeLibrary ()
 Releases any library still held by this session.
 FNativeLibrary (const FNativeLibrary &)=delete
 Library ownership cannot be copied.
FNativeLibrary & operator= (const FNativeLibrary &)=delete
 Library ownership cannot be reassigned by copying.
FNativeEntries Open (const FMountedPackage &Package, FString &Error)
 Acquires the selected extension without registering callbacks.
bool IsOpen () const
 Whether the callbacks are resident.
void Close ()
 Releases the extension after callback teardown.

Detailed Description

Keeps native callbacks resident until their World session has drained.

Member Function Documentation

◆ Open()

FNativeEntries Mod::Loader::FNativeLibrary::Open ( const FMountedPackage & Package,
FString & Error )

Acquires the selected extension without registering callbacks.

Parameters
PackageVerified package supplied by the loader.
ErrorFailure reason.
Returns
Available registration functions, or no entries on failure.

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