APlayerState::SetPlayerId

Sets the value of PlayerId without causing other side effects to this instance.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h

Include

#include "GameFramework/PlayerState.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerState.cpp

Syntax

void SetPlayerId
(
    const int32 NewId
)

Remarks

Sets the value of PlayerId without causing other side effects to this instance.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss