You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
46 lines
892 B
C
46 lines
892 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "Containers/Array.h"
|
||
|
|
#include "Containers/StringFwd.h"
|
||
|
|
#include "Containers/UnrealString.h"
|
||
|
|
|
||
|
|
namespace UE::Virtualization
|
||
|
|
{
|
||
|
|
|
||
|
|
struct FPlugin
|
||
|
|
{
|
||
|
|
FString PluginFilePath;
|
||
|
|
|
||
|
|
TArray<FString> PackagePaths;
|
||
|
|
};
|
||
|
|
|
||
|
|
class FProject
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
FProject(FString&& ProjectFilePath);
|
||
|
|
~FProject() = default;
|
||
|
|
|
||
|
|
void AddFile(const FString& FilePath);
|
||
|
|
void AddPluginFile(const FString& FilePath, FString&& PluginFilePath);
|
||
|
|
|
||
|
|
FStringView GetProjectFilePath() const;
|
||
|
|
FStringView GetProjectName() const;
|
||
|
|
FStringView GetProjectRoot() const;
|
||
|
|
|
||
|
|
TArray<FString> GetAllPackages() const;
|
||
|
|
|
||
|
|
void RegisterMountPoints() const;
|
||
|
|
void UnRegisterMountPoints() const;
|
||
|
|
|
||
|
|
bool TryLoadConfig(FConfigFile& OutConfig) const;
|
||
|
|
|
||
|
|
private:
|
||
|
|
FString ProjectFilePath;
|
||
|
|
|
||
|
|
TArray<FPlugin> Plugins;
|
||
|
|
TArray<FString> PackagePaths;
|
||
|
|
};
|
||
|
|
|
||
|
|
} //namespace UE::Virtualization
|