unreal.PlatformUserId

class unreal.PlatformUserId

Bases: StructBase

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.

Opaque struct for the FPlatformUserId struct defined in CoreMiscDefines.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • internal_id (int32): [Read-Only] Internal Id

NONE: PlatformUserId

Static invalid platform user

Type:

(PlatformUserId)

__eq__(other: object) bool

Overloads:

  • PlatformUserId Returns true if PlatformUserId A is equal to PlatformUserId B (A == B)

__ne__(other: object) bool

Overloads:

  • PlatformUserId Returns true if PlatformUserId A is not equal to PlatformUserId B (A != B)

equals(b) bool

Returns true if PlatformUserId A is equal to PlatformUserId B (A == B)

Parameters:

b (PlatformUserId) –

Return type:

bool

not_equal(b) bool

Returns true if PlatformUserId A is not equal to PlatformUserId B (A != B)

Parameters:

b (PlatformUserId) –

Return type:

bool