Language:
Discover
By Skill Level
By Category

FGameModeInfoCustomizer

Choose your OS:

Inheritance Hierarchy

TSharedFromThis

FGameModeInfoCustomizer

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

bool

 

AllowModifyGameMode()

Are we allowed to modify the currently selected GameMode

Public function

bool

 

CanBrowseDefaultClass

(
    FName ClassPropertyName
)

Public function

bool

 

CanBrowseGameMode()

Public function

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

AGameModeBas ...

 

GetCurrentGameModeCDO()

Get the CDO from the currently set GameMode class

Public function

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 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
)

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/GameModeInfoCustomizer.h