You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
30 lines
841 B
C++
30 lines
841 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Serialization/JsonWriter.h"
|
|
|
|
class FJsonObject;
|
|
|
|
/**
|
|
* Descriptor for projects. Contains all the information contained within a .uproject file.
|
|
*/
|
|
struct PROJECTS_API FCustomBuildSteps
|
|
{
|
|
/** Mapping from host platform to list of commands */
|
|
TMap<FString, TArray<FString>> HostPlatformToCommands;
|
|
|
|
/** Whether this object is empty */
|
|
bool IsEmpty() const;
|
|
|
|
/** Reads the descriptor from the given JSON object */
|
|
void Read(const FJsonObject& Object, const FString& FieldName);
|
|
|
|
/** Writes the CustomBuildSteps to JSON */
|
|
void Write(TJsonWriter<>& Writer, const FString& FieldName) const;
|
|
|
|
/** Updates the given json object with this CustomBuildSteps */
|
|
void UpdateJson(FJsonObject& JsonObject, const FString& FieldName) const;
|
|
};
|