AGameModeBase::SpawnReplayPlayerController

Windows
MacOS
Linux

Deprecated

  • SpawnReplayPlayerController is deprecated, replay controller spawning is handled inside the new version of the SpawnPlayerController function

References

Module

Engine

Header

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

Include

#include "GameFramework/GameModeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/GameModeBase.cpp

Syntax

virtual APlayerController * SpawnReplayPlayerController
(
    ENetRole InRemoteRole,
    FVector const & SpawnLocation,
    FRotator const & SpawnRotation
)

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