removed unused methods(BeginPlay, Tick) and added rider plugin
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include "Delegates/Delegate.h"
|
||||
|
||||
namespace JetBrains
|
||||
{
|
||||
namespace EditorPlugin
|
||||
{
|
||||
class BlueprintReference;
|
||||
}
|
||||
}
|
||||
|
||||
struct FAssetData;
|
||||
class FMessageEndpoint;
|
||||
class UBlueprint;
|
||||
|
||||
class RIDERBLUEPRINT_API BluePrintProvider {
|
||||
public:
|
||||
|
||||
static void AddAsset(FAssetData const& AssetData);
|
||||
|
||||
static bool IsBlueprint(FString const& pathName);
|
||||
|
||||
static void OpenBlueprint(JetBrains::EditorPlugin::BlueprintReference const& path, TSharedPtr<FMessageEndpoint, ESPMode::ThreadSafe> const& messageEndpoint);
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "lifetime/LifetimeDefinition.h"
|
||||
|
||||
#include "Logging/LogMacros.h"
|
||||
#include "Logging/LogVerbosity.h"
|
||||
#include "MessageEndpoint.h"
|
||||
#include "Modules/ModuleInterface.h"
|
||||
#include "Templates/SharedPointer.h"
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(FLogRiderBlueprintModule, Log, All);
|
||||
|
||||
class FRiderBlueprintModule : public IModuleInterface
|
||||
{
|
||||
public:
|
||||
FRiderBlueprintModule() = default;
|
||||
virtual ~FRiderBlueprintModule() override = default;
|
||||
|
||||
/** IModuleInterface implementation */
|
||||
virtual void StartupModule() override;
|
||||
virtual void ShutdownModule() override;
|
||||
virtual bool SupportsDynamicReloading() override { return true; };
|
||||
private:
|
||||
TSharedPtr<FMessageEndpoint, ESPMode::ThreadSafe> MessageEndpoint;
|
||||
rd::LifetimeDefinition ModuleLifetimeDef;
|
||||
};
|
||||
Reference in New Issue
Block a user