Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UPlatformInterfaceBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/PlatformInterfaceBase.h |
| Include Path | #include "Engine/PlatformInterfaceBase.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UPlatformInterfaceBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPlatformInterfaceBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPlatformInterfaceBase
(
const FObjectInitializer& ObjectInitializer |
Engine/PlatformInterfaceBase.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllDelegates | TArray< struct FDelegateArray > | Array of delegate arrays. | Engine/PlatformInterfaceBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddDelegate
(
int32 DelegateType, |
Adds a typed delegate (the value of the type is subclass dependent, make an enum per subclass) | Engine/PlatformInterfaceBase.h | |
void CallDelegates
(
int32 DelegateType, |
Call all the delegates currently set for the given delegate type with the given data | Engine/PlatformInterfaceBase.h | |
virtual void ClearDelegate
(
int32 DelegateType, |
Removes a delegate from the list of listeners | Engine/PlatformInterfaceBase.h | |
UCloudStorageBase * GetCloudStorageInterface() |
This is called on the default object, call the class static function | Engine/PlatformInterfaceBase.h | |
UInGameAdManager * GetInGameAdManager() |
This is called on the default object, call the class static function | Engine/PlatformInterfaceBase.h | |
UMicroTransactionBase * GetMicroTransactionInterface() |
This is called on the default object, call the class static function | Engine/PlatformInterfaceBase.h | |
UTwitterIntegrationBase * GetTwitterIntegration() |
This is called on the default object, call the class static function | Engine/PlatformInterfaceBase.h | |
bool HasDelegates
(
int32 DelegateType |
Determines if there are any delegates of the given type on this platform interface object. | Engine/PlatformInterfaceBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UCloudStorageBase * GetCloudStorageInterfaceSingleton() |
C++ interface to get the singleton C++ interface to get the singleton | Engine/PlatformInterfaceBase.h | |
static UInGameAdManager * GetInGameAdManagerSingleton() |
C++ interface to get the singleton | Engine/PlatformInterfaceBase.h | |
static UMicroTransactionBase * GetMicroTransactionInterfaceSingleton() |
C++ interface to get the singleton | Engine/PlatformInterfaceBase.h | |
static UTwitterIntegrationBase * GetTwitterIntegrationSingleton() |
C++ interface to get the singleton | Engine/PlatformInterfaceBase.h | |
static bool StaticExec
(
const TCHAR* Cmd, |
Check for certain exec commands that map to the various subclasses (it will only get/create the singleton if the first bit of the exec command matches a one of the special strings, like "ad" for ad manager) | Engine/PlatformInterfaceBase.h |