Files
UnrealEngineUWP/Engine/Source/Runtime/Projects/Public/PluginManifest.h
ryan durand 0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00

35 lines
875 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "PluginDescriptor.h"
class FJsonObject;
/**
* Descriptor for plugins. Contains all the information contained within a .uplugin file.
*/
struct PROJECTS_API FPluginManifestEntry
{
/** Normalized path to the plugin file */
FString File;
/** The plugin descriptor */
FPluginDescriptor Descriptor;
};
/**
* Manifest of plugins. Descriptor for plugins. Contains all the information contained within a .uplugin file.
*/
struct PROJECTS_API FPluginManifest
{
/** List of plugins in this manifest */
TArray<FPluginManifestEntry> Contents;
/** Loads the descriptor from the given file. */
bool Load(const FString& FileName, FText& OutFailReason);
/** Reads the descriptor from the given JSON object */
bool Read(const FJsonObject& Object, FText& OutFailReason);
};