mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-31 20:00:07 +00:00
reset config
This commit is contained in:
@@ -28,6 +28,17 @@ UCogAbilityWindow_Attributes::UCogAbilityWindow_Attributes()
|
||||
bHasMenu = true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
void UCogAbilityWindow_Attributes::ResetConfig()
|
||||
{
|
||||
Super::ResetConfig();
|
||||
|
||||
bSortByNameSetting = true;
|
||||
bGroupByAttributeSetSetting = false;
|
||||
bGroupByCategorySetting = false;
|
||||
bShowOnlyModified = false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
void UCogAbilityWindow_Attributes::RenderContent()
|
||||
{
|
||||
|
||||
@@ -31,6 +31,15 @@ UCogAbilityWindow_Cheats::UCogAbilityWindow_Cheats()
|
||||
bHasMenu = true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
void UCogAbilityWindow_Cheats::ResetConfig()
|
||||
{
|
||||
Super::ResetConfig();
|
||||
|
||||
bReapplyCheatsBetweenPlays = true;
|
||||
bReapplyCheatsBetweenLaunches = true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
void UCogAbilityWindow_Cheats::SetAsset(const UCogAbilityDataAsset* Value)
|
||||
{
|
||||
|
||||
@@ -19,6 +19,8 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
virtual void ResetConfig() override;
|
||||
|
||||
virtual void RenderHelp() override;
|
||||
|
||||
virtual void RenderContent() override;
|
||||
|
||||
@@ -23,6 +23,8 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
virtual void ResetConfig() override;
|
||||
|
||||
virtual void RenderHelp() override;
|
||||
|
||||
virtual void RenderContent() override;
|
||||
|
||||
Reference in New Issue
Block a user