FGameModeInfoCustomizer

Class to help customize a GameMode class picker, to show settings 'withing' GameMode.

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FGameModeInfoCustomizer

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/GameModeInfoCustomizer.h

Include

#include "GameModeInfoCustomizer.h"

Syntax

class FGameModeInfoCustomizer : public TSharedFromThis< FGameModeInfoCustomizer >

Remarks

Class to help customize a GameMode class picker, to show settings 'withing' GameMode.

Constructors

Name Description

Public function

FGameModeInfoCustomizer

(
    UObject* InOwningObject,
    FName InGameModePropertyName
)

Functions

Name Description

Public function Const

bool

 

AllowModifyGameMode()

Are we allowed to modify the currently selected GameMode

Public function Const

bool

 

CanBrowseDefaultClass

(
    FName ClassPropertyName
)

Public function Const

bool

 

CanBrowseGameMode()

Public function Const

bool

 

CanSyncToClass

(
    const UClass* Class
)

Public function

TSharedRef< ...

 

CreateGameModePropertyLabelWidget

(
    FName PropertyName
)

Create widget for the name of a default class property

Public function

void

 

CustomizeGameModeDefaultClass

(
    IDetailGroup& Group,
    FName DefaultClassPropertyName
)

Create widget fo modifying a default class within the current GameMode

Public function

void

 

CustomizeGameModeSetting

(
    IDetailLayoutBuilder& LayoutBuilde...,
    IDetailCategoryBuilder& CategoryBu...
)

Add special customization for the GameMode setting

Public function Const

AGameModeBas...

 

GetCurrentGameModeCDO()

Get the CDO from the currently set GameMode class

Public function Const

const UClass...

 

GetCurrentGameModeClass()

Get the currently set GameMode class

Public function

void

 

OnBrowseDefaultClassClicked

(
    FName ClassPropertyName
)

Public function

void

 

OnBrowseGameModeClicked()

Public function

void

 

OnClickNewGameMode()

Public function Const

const UClass...

 

OnGetDefaultClass

(
    FName ClassPropertyName
)

Find the current default class by property name

Public function

void

 

OnMakeNewDefaultClassClicked

(
    FName ClassPropertyName
)

Public function

void

 

OnMakeSelectedDefaultClassClicked

(
    FName ClassPropertyName
)

Public function

void

 

OnSetDefaultClass

(
    const UClass* NewDefaultClass,
    FName ClassPropertyName
)

Set a new default class by property name

Public function

void

 

OnUseSelectedGameModeClicked()

Public function

void

 

SetCurrentGameModeClass

(
    const UClass* NewGameModeClass
)

Public function

void

 

SyncBrowserToClass

(
    const UClass* Class
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback