APlayerController::ReceivedGameModeClass

This function will be called to notify the player controller that the world has received its game class.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

virtual void ReceivedGameModeClass
(
    TSubclassOf< class AGameModeBase > GameModeClass
)

Remarks

This function will be called to notify the player controller that the world has received its game class. In the case of a client we need to initialize the Input System here.

GameModeClass - The Class of the game that was replicated

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