25 lines
662 B
C++
25 lines
662 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "Commandlets/Commandlet.h"
|
||
|
|
#include "PackLuaBundleCommandlet.generated.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Commandlet for packing external Script/lua scripts into the binary ULuaBundleAsset UE resource
|
||
|
|
* (and optionally exporting a standalone binary archive file).
|
||
|
|
*
|
||
|
|
* Usage:
|
||
|
|
* UnrealEditor-Cmd <Project.uproject> -run=PackLuaBundle [-NoEncrypt] [-OutputFile=<path>] [-Verify]
|
||
|
|
*/
|
||
|
|
UCLASS()
|
||
|
|
class UNREALLUADEMOEDITOR_API UPackLuaBundleCommandlet : public UCommandlet
|
||
|
|
{
|
||
|
|
GENERATED_BODY()
|
||
|
|
|
||
|
|
public:
|
||
|
|
UPackLuaBundleCommandlet();
|
||
|
|
|
||
|
|
virtual int32 Main(const FString& Params) override;
|
||
|
|
};
|