UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GenericPlatformSplash.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "CoreTypes.h"
7
12{
13 enum Type
14 {
17
20
23
26
27 // ...
28
31 };
32}
33
34class FString;
35class FText;
36
41{
43 inline static void Show() { }
44
46 inline static void Hide() { }
47
54
55
61 inline static void SetProgress(int ProgressPercent)
62 {
63
64 }
65
72 UE_DEPRECATED(5.6, "Use the overload of FPlatformSlash::SetSplashText that takes a FText")
75 {
76 }
77
81 inline static bool IsShown()
82 {
83 return true;
84 }
85
86protected:
97 static APPLICATIONCORE_API bool GetSplashPath(const TCHAR* SplashFilename, FString& OutPath, bool& OutIsCustom);
98 static APPLICATIONCORE_API bool GetSplashPath(const TCHAR* SplashFilename, const TCHAR* IconFilename, FString& OutPath, FString& OutIconPath, bool& OutIsCustom);
99};
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Text.h:385
Definition GenericPlatformSplash.h:12
Type
Definition GenericPlatformSplash.h:14
@ CopyrightInfo
Definition GenericPlatformSplash.h:22
@ StartupProgress
Definition GenericPlatformSplash.h:16
@ NumTextTypes
Definition GenericPlatformSplash.h:30
@ GameName
Definition GenericPlatformSplash.h:25
@ VersionInfo1
Definition GenericPlatformSplash.h:19
Definition GenericPlatformSplash.h:41
static bool IsShown()
Definition GenericPlatformSplash.h:81
static APPLICATIONCORE_API void SetSplashText(const SplashTextType::Type InType, const TCHAR *InText)
Definition GenericPlatformSplash.cpp:48
static void Hide()
Definition GenericPlatformSplash.h:46
static APPLICATIONCORE_API bool GetSplashPath(const TCHAR *SplashFilename, FString &OutPath, bool &OutIsCustom)
Definition GenericPlatformSplash.cpp:63
static void Show()
Definition GenericPlatformSplash.h:43
static void SetProgress(int ProgressPercent)
Definition GenericPlatformSplash.h:61
static APPLICATIONCORE_API void SetCustomSplashImage(const TCHAR *SplashFilename)
Definition GenericPlatformSplash.cpp:43