Navigation
API > API/Plugins > API/Plugins/OnlineServicesCommon
| Name | FOnlineComponentRegistry |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesCommon/Public/Online/OnlineComponentRegistry.h |
| Include Path | #include "Online/OnlineComponentRegistry.h" |
Syntax
class FOnlineComponentRegistry
Classes
| Name | Remarks |
|---|---|
| TComponentWrapper |
Interfaces
| Name | Remarks |
|---|---|
| IComponentWrapper |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Components | TArray< TUniquePtr< IComponentWrapper > > | Online/OnlineComponentRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AssignBaseSharedPtr
(
const FOnlineTypeName& TypeName, |
Internal use only. Used to implement IOnlineServices::GetInterface() | Online/OnlineComponentRegistry.h | |
ComponentType * Get() |
Get the component of type ComponentType | Online/OnlineComponentRegistry.h | |
void Register
(
ParamTypes&&... Params |
Create and register a component of type ComponentType if one has not already been registered | Online/OnlineComponentRegistry.h | |
void Unregister() |
Destroy and unregister a component of type ComponentType | Online/OnlineComponentRegistry.h | |
void Visit
(
CallableType&& Callable, |
Call a callable for each of the components | Online/OnlineComponentRegistry.h |