UNamedInterfaces

Named interfaces are a registry of UObjects accessible by an [FName](API\Runtime\Core\UObject\FName) key that will persist for the lifetime of the process

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/NamedInterfaces.h

Include

#include "NamedInterfaces.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient, Config=Engine)
class UNamedInterfaces : public UObject

Remarks

Named interfaces are a registry of UObjects accessible by an FName key that will persist for the lifetime of the process

Constructors

Name Description

Public function

UNamedInterfaces

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

UObject *...

 

GetNamedInterface

(
    FName InterfaceName
)

Public function

int32

 

GetNumInterfaces()

Get number of current named interfaces

Public function

void

 

Initialize()

Initialize the named interface and create any predefined interfaces

Public function

FOnCleanup &

 

OnCleanup()

Public function

void

 

SetNamedInterface

(
    FName InterfaceName,
    UObject* NewInterface
)

Set an interface stored by name, replacing any existing

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Typedefs

Name

Description

FOnCleanup

Cleanup delegate fired on destruction

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss