You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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]
31 lines
817 B
C++
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;
|
|
};
|