Files
UnrealEngineUWP/Engine/Plugins/Runtime/GameFeatures/Source/GameFeaturesEditor/Private/GameFeaturePluginMetadataCustomization.h
ben zeigler 38d0d0d9c3 Move the GameFeatures and ModularGameplay plugins out of Experimental and put them in Runtime. The plugins have been considered as Beta since 5.2 but they were not moved at the time
The default templates for new game feature plugins were moved as part of this and you may need to update your game's defaulteditor.ini file if it overrides the defaults
#rb Eric.Knapik

[CL 31065946 by ben zeigler in ue5-main branch]
2024-01-31 16:54:18 -05:00

31 lines
817 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Features/IPluginsEditorFeature.h"
#include "GameFeatureTypesFwd.h"
class IDetailLayoutBuilder;
struct FPluginEditingContext;
class IPlugin;
struct FPluginDescriptor;
//////////////////////////////////////////////////////////////////////////
// FGameFeaturePluginMetadataCustomization
class FGameFeaturePluginMetadataCustomization : public FPluginEditorExtension
{
public:
void CustomizeDetails(FPluginEditingContext& InPluginContext, IDetailLayoutBuilder& DetailBuilder);
virtual void CommitEdits(FPluginDescriptor& Descriptor) override;
private:
EGameFeaturePluginState GetDefaultState() const;
void ChangeDefaultState(EGameFeaturePluginState DesiredState);
TSharedPtr<IPlugin> Plugin;
EGameFeaturePluginState InitialState;
};