Navigation
API > API/Editor > API/Editor/UnrealEd
Class to help customize a GameMode class picker, to show settings 'withing' GameMode.
| Name | FGameModeInfoCustomizer |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/GameModeInfoCustomizer.h |
| Include Path | #include "GameModeInfoCustomizer.h" |
Syntax
class FGameModeInfoCustomizer : public TSharedFromThis< FGameModeInfoCustomizer >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FGameModeInfoCustomizer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GameModeInfoCustomizer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedGameModeClass | TWeakObjectPtr< UClass > | Cached class pointer from the DefaultGameModeClassHandle | GameModeInfoCustomizer.h | |
| DefaultGameModeClassHandle | TSharedPtr< IPropertyHandle > | Handle to the DefaultGameMode property | GameModeInfoCustomizer.h | |
| GameModePropertyName | FName | Name of GameMode property inside OwningObject | GameModeInfoCustomizer.h | |
| OwningObject | TWeakObjectPtr< UObject > | Object that owns the pointer to the GameMode we want to customize | GameModeInfoCustomizer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AllowModifyGameMode() |
Are we allowed to modify the currently selected GameMode | GameModeInfoCustomizer.h | |
bool CanBrowseDefaultClass
(
FName ClassPropertyName |
GameModeInfoCustomizer.h | ||
bool CanBrowseGameMode() |
GameModeInfoCustomizer.h | ||
bool CanSyncToClass
(
const UClass* Class |
GameModeInfoCustomizer.h | ||
TSharedRef< SWidget > CreateGameModePropertyLabelWidget
(
FName PropertyName |
Create widget for the name of a default class property | GameModeInfoCustomizer.h | |
void CustomizeGameModeDefaultClass
(
IDetailGroup& Group, |
Create widget fo modifying a default class within the current GameMode | GameModeInfoCustomizer.h | |
void CustomizeGameModeSetting
(
IDetailLayoutBuilder& LayoutBuilder, |
Add special customization for the GameMode setting | GameModeInfoCustomizer.h | |
AGameModeBase * GetCurrentGameModeCDO() |
Get the CDO from the currently set GameMode class | GameModeInfoCustomizer.h | |
const UClass * GetCurrentGameModeClass() |
Get the currently set GameMode class | GameModeInfoCustomizer.h | |
void OnBrowseDefaultClassClicked
(
FName ClassPropertyName |
GameModeInfoCustomizer.h | ||
void OnBrowseGameModeClicked() |
GameModeInfoCustomizer.h | ||
void OnClickNewGameMode() |
GameModeInfoCustomizer.h | ||
| Find the current default class by property name | GameModeInfoCustomizer.h | ||
void OnMakeNewDefaultClassClicked
(
FName ClassPropertyName |
GameModeInfoCustomizer.h | ||
void OnMakeSelectedDefaultClassClicked
(
FName ClassPropertyName |
GameModeInfoCustomizer.h | ||
| Set a new default class by property name | GameModeInfoCustomizer.h | ||
void OnUseSelectedGameModeClicked() |
GameModeInfoCustomizer.h | ||
void SetCurrentGameModeClass
(
const UClass* NewGameModeClass |
GameModeInfoCustomizer.h | ||
void SyncBrowserToClass
(
const UClass* Class |
GameModeInfoCustomizer.h |