29 lines
643 B
C++
29 lines
643 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
class ITargetPlatform;
|
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogUnrealLuaDemoEditor, Log, All);
|
|
|
|
class FUnrealLuaDemoEditorModule : public IModuleInterface
|
|
{
|
|
public:
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
private:
|
|
void OnModifyCook(
|
|
TConstArrayView<const ITargetPlatform*> InTargetPlatforms,
|
|
TArray<FName>& InOutPackagesToCook,
|
|
TArray<FName>& InOutPackagesToNeverCook);
|
|
|
|
void RegisterMenus();
|
|
|
|
FDelegateHandle ModifyCookHandle;
|
|
IConsoleObject* PackBundleCmd = nullptr;
|
|
};
|