UPlatformInterfaceBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/PlatformInterfaceBase.h

Include

#include "Engine/PlatformInterfaceBase.h"

Syntax

class UPlatformInterfaceBase : public UObject

Variables

Name Description

Public variable

TArray< struct ...

 

AllDelegates

Array of delegate arrays.

Constructors

Name Description

Public function

UPlatformInterfaceBase

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

void

 

AddDelegate

(
    int32 DelegateType,
    FPlatformInterfaceDelegate InDelega...
)

Adds a typed delegate (the value of the type is subclass dependent, make an enum per subclass)

Public function

void

 

CallDelegates

(
    int32 DelegateType,
    FPlatformInterfaceDelegateResult& ...
)

Call all the delegates currently set for the given delegate type with the given data

Public function Virtual

void

 

ClearDelegate

(
    int32 DelegateType,
    FPlatformInterfaceDelegate InDelega...
)

Removes a delegate from the list of listeners

Public function

UCloudStorag...

 

GetCloudStorageInterface()

This is called on the default object, call the class static function

Public function Static

UCloudStorag...

 

GetCloudStorageInterfaceSingleton()

C++ interface to get the singleton

C++ interface to get the singleton

Public function

UInGameAdMan...

 

GetInGameAdManager()

This is called on the default object, call the class static function

Public function Static

UInGameAdMan...

 

GetInGameAdManagerSingleton()

C++ interface to get the singleton

Public function

UMicroTransa...

 

GetMicroTransactionInterface()

This is called on the default object, call the class static function

Public function Static

UMicroTransa...

 

GetMicroTransactionInterfaceSingleton()

C++ interface to get the singleton

Public function

UTwitterInte...

 

GetTwitterIntegration()

This is called on the default object, call the class static function

Public function Static

UTwitterInte...

 

GetTwitterIntegrationSingleton()

C++ interface to get the singleton

Public function

bool

 

HasDelegates

(
    int32 DelegateType
)

Determines if there are any delegates of the given type on this platform interface object.

Public function Static

bool

 

StaticExec

(
    const TCHAR* Cmd,
    FOutputDevice& Ar
)

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)

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