Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h |
Include | #include "Misc/CoreMiscDefines.h" |
Syntax
struct FPlatformUserId
Remarks
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.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FPlatformUserId | CreateFromInternalId
(
int32 InInternalId |
Explicit function to create from an internal id |
![]() ![]() |
int32 | Returns the internal id for debugging/etc | |
![]() ![]() |
bool | IsValid () |
Sees if this is a valid user |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FPlatformUserId& Other |
|
![]() ![]() |
bool | operator==
(
const FPlatformUserId& Other |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
* |
|
This should be deprecated when the online code uniformly handles FPlatformUserId |