Quartz UI ↗
Browse docs
On this page
Private preview · 0.57.0-devView Markdown

QuartzUITypeScriptGenerator: declaration reference

0.57.0-dev · beta source documentation. Native, Blueprint, Editor and rendering examples are source-reviewed, not executed in Unreal during this scan. See validation and limits.

Pinned source (source: Source/QuartzUIEditor/Public/QuartzUITypeScriptGenerator.h) · integration recipe · practical guide

FQuartzUITypeScriptGenerator

Editor type. Deterministic Editor-only TypeScript emitter for explicit native contracts.

Prerequisites / integration: Installed source plugin; Editor tools additionally require a compiled compatible host Editor target. Use the QuartzUITypeScriptGenerator recipe in the host module QuartzUIEditor.

Minimal example / lifecycle: Use QuartzUIContract with selected app and -Check. Generation reads explicit reflected closure; frontend rebuild is separate.

Avoid: Hand-editing generated declarations or using core identity for another app. Match the exact declaration below; dependent DTOs/enums are values used by this owner, not independent systems.

Exact source line (source: Source/QuartzUIEditor/Public/QuartzUITypeScriptGenerator.h#L8)

Complete header

Source snapshot, not an additional example. Unreal annotations distinguish exposed Blueprint nodes from native-only/private methods.

#pragma once

#include "CoreMinimal.h"

struct FQuartzUIContractManifest;

/** Deterministic Editor-only TypeScript emitter for explicit native contracts. */
class QUARTZUIEDITOR_API FQuartzUITypeScriptGenerator final
{
public:
	static bool TryGenerate(
		const FQuartzUIContractManifest& Manifest,
		FString& OutTypeScript,
		FString& OutError);

	/** Writes only changed UTF-8 output, or verifies it byte-for-byte in check mode. */
	static bool TryWriteFile(
		const FQuartzUIContractManifest& Manifest,
		const FString& OutputPath,
		bool bCheckOnly,
		bool& bOutChanged,
		FString& OutError);
};