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

A revocable registration. The owner must release it before unloading code. More...

#include <ModAPIRegistry.h>

Public Member Functions

 FRegistration ()=default
 Creates an empty registration.
 ~FRegistration ()
 Revokes the registration.
 FRegistration (FRegistration &&Other) noexcept
 Transfers registration ownership.
FRegistration & operator= (FRegistration &&Other) noexcept
 Transfers registration ownership and revokes the previous value.
void Reset ()
 Revokes all bindings derived from this registration on the game thread.

Detailed Description

A revocable registration. The owner must release it before unloading code.

Constructor & Destructor Documentation

◆ FRegistration()

Mod::API::FRegistration::FRegistration ( FRegistration && Other)
noexcept

Transfers registration ownership.

Parameters
OtherThe previous owner.

Member Function Documentation

◆ operator=()

FRegistration & Mod::API::FRegistration::operator= ( FRegistration && Other)
noexcept

Transfers registration ownership and revokes the previous value.

Parameters
OtherThe previous owner.
Returns
This registration.

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