Navigation
API > API/Runtime > API/Runtime/Core > API/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 | |
|---|---|---|---|
| constexpr | This should be deprecated when the online code uniformly handles FPlatformUserId */ UE_DEPRECATED(5.x, "Implicit conversion to user index is deprecated, use FPlatformMisc::GetUserIndexForPlatformUser") | ||
| bool | operator!=
(
const FPlatformUserId& Other |
||
| bool | operator==
(
const FPlatformUserId& Other |