File size: 986 Bytes
7fd553e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFeatureAction.h"
#include "ApplyFrontendPerfSettingsAction.generated.h"
class UObject;
struct FGameFeatureActivatingContext;
struct FGameFeatureDeactivatingContext;
//////////////////////////////////////////////////////////////////////
// UApplyFrontendPerfSettingsAction
/**
* GameFeatureAction responsible for telling the user settings to apply frontend/menu specific performance settings
*/
UCLASS(MinimalAPI, meta = (DisplayName = "Use Frontend Perf Settings"))
class UApplyFrontendPerfSettingsAction final : public UGameFeatureAction
{
GENERATED_BODY()
public:
//~UGameFeatureAction interface
virtual void OnGameFeatureActivating(FGameFeatureActivatingContext& Context) override;
virtual void OnGameFeatureDeactivating(FGameFeatureDeactivatingContext& Context) override;
//~End of UGameFeatureAction interface
private:
static int32 ApplicationCounter;
};
|