TTargetPlatformBase::GetRuntimePlatformType

Return the TargetType this platform uses at runtime.

Windows
MacOS
Linux

Override Hierarchy

ITargetPlatform::GetRuntimePlatformType()

TTargetPlatformBase::GetRuntimePlatformType()

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h

Include

#include "Common/TargetPlatformBase.h"

Syntax

virtual EBuildTargetType GetRuntimePlatformType() const

Remarks

Return the TargetType this platform uses at runtime. Some TargetPlatforms like CookedEditors need to cook with one type, like Client, but then will run as an Editor. Decisions made based solely on the cook type may cause data mismatches if the runtime type is different. This is also useful for knowing what plugins will be enabled at runtime.