Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameModeBase
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 |
virtual TSubclassOf < APlayerController > GetPlayerControllerClassToSpawnForSeamlessTravel
(
APlayerController * PreviousPlayerController
)
Remarks
Gets the class that should be used for spawning a player controller during seamless travel The class that should be used for spawning the player controller
Parameters
| Name | Description |
|---|---|
| PreviousPlayerController | The player controller from the prior level |