Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Named interfaces are a registry of UObjects accessible by an FName key that will persist for the lifetime of the process
| Name | UNamedInterfaces |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/NamedInterfaces.h |
| Include Path | #include "NamedInterfaces.h" |
Syntax
UCLASS (Transient, Config=Engine)
class UNamedInterfaces : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNamedInterfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNamedInterfaces
(
const FObjectInitializer& ObjectInitializer |
NamedInterfaces.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnCleanup | TMulticastDelegate_NoParams< void > | Cleanup delegate fired on destruction | NamedInterfaces.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CleanupDelegates | FOnCleanup | NamedInterfaces.h | ||
| NamedInterfaceDefs | TArray< FNamedInterfaceDef > | The list of named interfaces to automatically create and store | NamedInterfaces.h |
|
| NamedInterfaces | TArray< FNamedInterface > | Holds the set of registered named interfaces | NamedInterfaces.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| NamedInterfaces.h | |||
int32 GetNumInterfaces() |
Get number of current named interfaces | NamedInterfaces.h | |
void Initialize() |
Initialize the named interface and create any predefined interfaces | NamedInterfaces.h | |
FOnCleanup & OnCleanup() |
NamedInterfaces.h | ||
| Set an interface stored by name, replacing any existing | NamedInterfaces.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
NamedInterfaces.h |