Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UGameplayStatics
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
| Include | #include "Kismet/GameplayStatics.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
UFUNCTION (BlueprintCallable, Category="Game",
Meta=(DisplayName="Set Local Player Controller Platform User Id", UnsafeDuringActorConstruction="true"))
static void SetPlayerPlatformUserId
(
APlayerController * PlayerController,
FPlatformUserId UserId
)
Remarks
Sets what platform user id a player should be using. This only works for local player controllers.
Parameters
| Name | Description |
|---|---|
| Player | The player controller of the player to change the platform user of |
| PlatformUserId | The platform user id to assign this player |