UGameMapsSettings::GetGameModeForMapName

Searches the GameModeMapPrefixes list for a named game mode, if not found will return passed in string

Windows
MacOS
Linux

References

Module

EngineSettings

Header

/Engine/Source/Runtime/EngineSettings/Classes/GameMapsSettings.h

Include

#include "GameMapsSettings.h"

Source

/Engine/Source/Runtime/EngineSettings/Private/EngineSettingsModule.cpp

Syntax

static FString GetGameModeForMapName
(
    const FString & MapName
)

Remarks

Searches the GameModeMapPrefixes list for a named game mode, if not found will return passed in string

Returns

the proper game type class path to load, or empty if not found

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