FUserPlatform

Thin wrapper to infuse a raw platform string with some meaning

Windows
MacOS
Linux

References

Module

Party

Header

/Engine/Plugins/Online/OnlineFramework/Source/Party/Public/SocialTypes.h

Include

#include "SocialTypes.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FUserPlatform

Remarks

Thin wrapper to infuse a raw platform string with some meaning

Constructors

Name Description

Public function

FUserPlatform()

Public function

FUserPlatform

(
    const FString& InPlatform
)

Functions

Name Description

Public function Const

const FSocia...

 

GetPlatformDescription()

Public function Const

const FStrin...

 

GetTypeName()

Public function Const

bool

 

IsConsole()

Public function Const

bool

 

IsCrossplayWith

(
    const FString& OtherPlatformStr
)

Public function Const

bool

 

IsCrossplayWith

(
    const FUserPlatform& OtherPlatform
)

Public function Const

bool

 

IsCrossplayWithLocalPlatform()

Public function Const

bool

 

IsDesktop()

Public function Const

bool

 

IsMobile()

Public function Const

bool

 

IsValid()

Public function Const

const FStrin...

 

ToString()

Operators

Name Description

Public function Const

 

operator const FString &()

Public function Const

bool

 

operator!=

(
    const FUserPlatform& Other
)

Public function Const

bool

 

operator!=

(
    const FString& OtherStr
)

Public function Const

bool

 

operator==

(
    const FUserPlatform& Other
)

Public function Const

bool

 

operator==

(
    const FString& OtherStr
)

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