feat: integrate ts2lua-unreal v0.2.1 and UnLua TypeScript (.d.ts) generator

This commit is contained in:
szy73711 committed 2026-11-29 03:08:03 +08:00
1 parent ebce41f347
commit ee2e62bb34
282 files changed
+141794 -261

No files matched your search

@@ -50,6 +50,26 @@ public:
UPROPERTY(config, EditAnywhere, Category = "Coding")
bool bGenerateIntelliSense = true;
/** Output directory for generated TypeScript (.d.ts) declarations (relative to ProjectDir, or absolute path). */
UPROPERTY(config, EditAnywhere, Category = "Coding")
FString TypeScriptOutputDir = TEXT("Script/ts/types/ue");
/** Exclude Editor / UncookedOnly / Developer modules and Editor-only properties when generating TypeScript (.d.ts) declarations. */
UPROPERTY(config, EditAnywhere, Category = "Coding")
bool bTypeScriptExcludeEditorModules = true;
/** Only export project Blueprints under /Game/ (skip Engine/Plugin sample & editor-utility Blueprints). */
UPROPERTY(config, EditAnywhere, Category = "Coding")
bool bTypeScriptOnlyGameBlueprints = true;
/** Additional C++ module names (e.g. "PCG", "ControlRig") to exclude from TypeScript (.d.ts) generation. */
UPROPERTY(config, EditAnywhere, Category = "Coding")
TArray<FString> TypeScriptExcludedModules;
/** Optional whitelist of C++ module names to include (empty = include all non-excluded modules; CoreUObject/Engine and project Blueprints are always included). */
UPROPERTY(config, EditAnywhere, Category = "Coding")
TArray<FString> TypeScriptIncludedModules;
/** Whether or not startup UnLua module on game start. (Requires restart to take effect) */
UPROPERTY(config, EditAnywhere, Category = "Build")
bool bAutoStartup = true;