APawn::GetPlayerStateChecked

Templated convenience version of GetPlayerState which checks the type is as presumed.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/Pawn.h"

Syntax

template<class T>
T * GetPlayerStateChecked() const

Remarks

Templated convenience version of GetPlayerState which checks the type is as presumed.

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