Files
UnrealEngineUWP/Engine/Plugins/Web/WebAPI/Source/WebAPIEditor/Public/WebAPICommon.h
George Rolfe e54c69d811 WebAPI re-submit
#rb simon.therriault
#jira UETOOL-4463
#preflight 62424a85c61d8a458f223a59

[CL 19540648 by George Rolfe in ue5-main branch]
2022-03-29 08:43:59 -04:00

32 lines
712 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "WebAPICommon.generated.h"
USTRUCT(BlueprintType)
struct WEBAPIEDITOR_API FWebAPITemplateString
{
GENERATED_BODY()
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category="String")
FString String;
FWebAPITemplateString() = default;
explicit FWebAPITemplateString(FString&& InString)
: String(MoveTemp(InString))
{
}
FString PopulateTemplate(const FStringFormatNamedArguments& InArgs);
/** Gets the validity of the template string. */
bool IsValid();
/** Gets the validity of the template string for the given named arguments. */
bool IsValid(const FStringFormatNamedArguments& InArgs);
};