35 lines
808 B
C
35 lines
808 B
C
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "CoreMinimal.h"
|
||
|
#include "UObject/ObjectMacros.h"
|
||
|
#include "GameSettingAction.h"
|
||
|
#include "GameSettingValueScalarDynamic.h"
|
||
|
|
||
|
#include "LyraSettingAction_SafeZoneEditor.generated.h"
|
||
|
|
||
|
|
||
|
UCLASS()
|
||
|
class ULyraSettingValueScalarDynamic_SafeZoneValue : public UGameSettingValueScalarDynamic
|
||
|
{
|
||
|
GENERATED_BODY()
|
||
|
|
||
|
public:
|
||
|
virtual void ResetToDefault() override;
|
||
|
virtual void RestoreToInitial() override;
|
||
|
};
|
||
|
|
||
|
UCLASS()
|
||
|
class ULyraSettingAction_SafeZoneEditor : public UGameSettingAction
|
||
|
{
|
||
|
GENERATED_BODY()
|
||
|
|
||
|
public:
|
||
|
ULyraSettingAction_SafeZoneEditor();
|
||
|
virtual TArray<UGameSetting*> GetChildSettings() override;
|
||
|
|
||
|
private:
|
||
|
UPROPERTY()
|
||
|
ULyraSettingValueScalarDynamic_SafeZoneValue* SafeZoneValueSetting;
|
||
|
};
|