AGameModeBase::ChangeName

Sets the name for a controller

Windows
MacOS
Linux

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 void ChangeName
(
    AController * Controller,
    const FString & NewName,
    bool bNameChange
)

Remarks

Sets the name for a controller

Parameters

Parameter

Description

Controller

The controller of the player to change the name of

NewName

The name to set the player to

bNameChange

Whether the name is changing or if this is the first time it has been set

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