AGameModeBase::PlayerCanRestart

Returns true if it's valid to call RestartPlayer. By default will call Player->CanRestartPlayer

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/GameModeBase.h"

Syntax

bool PlayerCanRestart
(
    APlayerController * Player
)

Remarks

Returns true if it's valid to call RestartPlayer. By default will call Player->CanRestartPlayer

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