feat: move Lua scripts to Script/lua and add binary UE bundle packing

This commit is contained in:
szy73711 committed 2026-11-29 00:18:13 +08:00
1 parent 256a60ac80
commit ebce41f347
41 files changed
+1545 -57

No files matched your search

@@ -0,0 +1,25 @@
// 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;
};