AGameModeBase::InitNewPlayer

Customize incoming player based on URL options

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 FString InitNewPlayer
(
    APlayerController * NewPlayerController,
    const FUniqueNetIdRepl & UniqueId,
    const FString & Options,
    const FString & Portal
)

Remarks

Customize incoming player based on URL options

Parameters

Parameter

Description

NewPlayerController

player logging in

UniqueId

unique id for this player

Options

URL options that came at login

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