Ark Server API (ASA) - Wiki
|
#include <CoreMiscDefines.h>
Public Member Functions | |
FORCEINLINE | FPlatformUserId () |
FPlatformUserId (const FPlatformUserId &)=default | |
FPlatformUserId & | operator= (const FPlatformUserId &)=default |
FORCEINLINE bool | IsValid () const |
FORCEINLINE int32 | GetInternalId () const |
FORCEINLINE bool | operator== (const FPlatformUserId &Other) const |
FORCEINLINE bool | operator!= (const FPlatformUserId &Other) const |
FORCEINLINE constexpr | FPlatformUserId (int32 InIndex) |
FORCEINLINE constexpr | operator int32 () const |
Static Public Member Functions | |
static FORCEINLINE FPlatformUserId | CreateFromInternalId (int32 InInternalId) |
Private Attributes | |
int32 | InternalId |
Friends | |
FORCEINLINE friend uint32 | GetTypeHash (const FPlatformUserId &UserId) |
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.
Definition at line 321 of file CoreMiscDefines.h.
|
inline |
Create a default invalid Id
Definition at line 324 of file CoreMiscDefines.h.
|
default |
|
inlineconstexpr |
Definition at line 366 of file CoreMiscDefines.h.
|
inlinestatic |
Explicit function to create from an internal id
Definition at line 342 of file CoreMiscDefines.h.
|
inline |
Returns the internal id for debugging/etc
Definition at line 336 of file CoreMiscDefines.h.
|
inline |
Sees if this is a valid user
Definition at line 330 of file CoreMiscDefines.h.
|
inlineconstexpr |
Definition at line 370 of file CoreMiscDefines.h.
|
inline |
Definition at line 354 of file CoreMiscDefines.h.
|
default |
|
inline |
Definition at line 349 of file CoreMiscDefines.h.
|
friend |
Definition at line 359 of file CoreMiscDefines.h.
|
private |
Raw id, will be allocated by application layer
Definition at line 374 of file CoreMiscDefines.h.