UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PlatformInterfaceBase.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
11#pragma once
12
13#include "CoreMinimal.h"
15#include "UObject/Object.h"
17#include "PlatformInterfaceBase.generated.h"
18
20UENUM()
33
34
39USTRUCT()
41{
43
44
45 UPROPERTY()
46 FName DataName;
47
49 UPROPERTY()
51
53 UPROPERTY()
54 int32 IntValue;
55
56 UPROPERTY()
57 float FloatValue;
58
59 UPROPERTY()
60 FString StringValue;
61
62 UPROPERTY()
63 TObjectPtr<class UObject> ObjectValue;
64
65
67 : Type(0)
68 , IntValue(0)
69 , FloatValue(0)
70 , ObjectValue(NULL)
71 {
72 }
73
74};
75
77USTRUCT()
97
100
105USTRUCT()
114
115UCLASS(transient,MinimalAPI)
117{
119
120
121 UPROPERTY()
123
124
128 // @todo document
129 static class UCloudStorageBase* GetCloudStorageInterfaceSingleton();
130
131 // @todo document
132 static class UInGameAdManager* GetInGameAdManagerSingleton();
133
134 // @todo document
135 static class UMicroTransactionBase* GetMicroTransactionInterfaceSingleton();
136
137 // @todo document
138 static class UTwitterIntegrationBase* GetTwitterIntegrationSingleton();
139
145 static bool StaticExec(const TCHAR* Cmd, FOutputDevice& Ar);
146
156 bool HasDelegates(int32 DelegateType);
157
164 ENGINE_API void CallDelegates(int32 DelegateType, FPlatformInterfaceDelegateResult& Result);
165
167 class UCloudStorageBase* GetCloudStorageInterface();
168
169
171 class UInGameAdManager* GetInGameAdManager();
172
173
175 class UMicroTransactionBase* GetMicroTransactionInterface();
176
177
179 class UTwitterIntegrationBase* GetTwitterIntegration();
180
181
187 ENGINE_API virtual void AddDelegate(int32 DelegateType, FPlatformInterfaceDelegate InDelegate);
188
189
195 ENGINE_API virtual void ClearDelegate(int32 DelegateType, FPlatformInterfaceDelegate InDelegate);
196};
197
#define NULL
Definition oodle2base.h:134
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DYNAMIC_DELEGATE_OneParam(DelegateName, Param1Type, Param1Name)
Definition DelegateCombinations.h:52
const bool
Definition NetworkReplayStreaming.h:178
bool StaticExec(UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar)
Definition Obj.cpp:4571
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
EPlatformInterfaceDataType
Definition PlatformInterfaceBase.h:22
@ PIDT_Float
Definition PlatformInterfaceBase.h:26
@ PIDT_MAX
Definition PlatformInterfaceBase.h:31
@ PIDT_Int
Definition PlatformInterfaceBase.h:25
@ PIDT_Custom
Definition PlatformInterfaceBase.h:30
@ PIDT_String
Definition PlatformInterfaceBase.h:27
@ PIDT_Object
Definition PlatformInterfaceBase.h:28
@ PIDT_None
Definition PlatformInterfaceBase.h:24
Definition NameTypes.h:617
Definition OutputDevice.h:133
Definition Array.h:670
Definition EnumAsByte.h:22
Definition CloudStorageBase.h:36
Definition InGameAdManager.h:40
Definition MicroTransactionBase.h:85
Definition Object.h:95
Definition PlatformInterfaceBase.h:117
Definition TwitterIntegrationBase.h:38
@ false
Definition radaudio_common.h:23
Definition PlatformInterfaceBase.h:107
Definition PlatformInterfaceBase.h:41
Definition PlatformInterfaceBase.h:79
Definition ObjectPtr.h:488