EM_Task/UnrealEd/Classes/Commandlets/ImportDialogueScriptCommandlet.h

26 lines
788 B
C
Raw Permalink Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Commandlets/GatherTextCommandletBase.h"
#include "ImportDialogueScriptCommandlet.generated.h"
/**
* UImportDialogueScriptCommandlet: Handles importing localized script sheets to update the translated archive text.
*/
UCLASS()
class UImportDialogueScriptCommandlet: public UGatherTextCommandletBase
{
GENERATED_UCLASS_BODY()
public:
//~ Begin UCommandlet Interface
virtual int32 Main(const FString& Params) override;
//~ End UCommandlet Interface
private:
bool ImportDialogueScriptForCulture(FLocTextHelper& InLocTextHelper, const FString& InDialogueScriptFileName, const FString& InCultureName, const bool bIsNativeCulture);
};