Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h |
Include |
#include "Misc/CoreMiscDefines.h" |
struct FPlatformUserId
Handle that defines a local user on this platform. This used to be just a typedef int32 that was used interchangeably as ControllerId and LocalUserIndex. Moving forward these will be allocated by the platform application layer.
Name | Description | |
---|---|---|
|
FPlatformUserId() |
Create a default invalid Id |
|
FPlatformUserId ( |
|
|
FPlatformUserId ( |
Implicit conversion from user index is deprecated, use FPlatformMisc::GetPlatformUserForUserIndex |
Name | Description | ||
---|---|---|---|
|
FPlatformUse... |
CreateFromInternalId ( |
Explicit function to create from an internal id |
|
GetInternalId() |
Returns the internal id for debugging/etc |
|
|
IsValid() |
Sees if this is a valid user |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
FPlatformUse... |
operator= ( |
|
|
operator== ( |
Name | Description | ||
---|---|---|---|
|
constexpr |
FPlatformUserId ( |
Implicit conversion from user index is deprecated, use FPlatformMisc::GetPlatformUserForUserIndex |
|
* |
UE_DEPRECATED ( |
This should be deprecated when the online code uniformly handles FPlatformUserId |