You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 642e8838441e8b2f5506dbb4 #rb pk.kack,per.larsson,francis.hurteau [CL 24944233 by carlmagnus nordin in ue5-main branch]
47 lines
1.0 KiB
C++
47 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "IO/PackageStore.h"
|
|
|
|
#if !UE_BUILD_SHIPPING
|
|
|
|
class FStorageServerConnection;
|
|
struct FFilePackageStoreEntry;
|
|
|
|
class FStorageServerPackageStoreBackend
|
|
: public IPackageStoreBackend
|
|
{
|
|
public:
|
|
FStorageServerPackageStoreBackend(FStorageServerConnection& Connection);
|
|
virtual ~FStorageServerPackageStoreBackend() = default;
|
|
|
|
virtual void OnMounted(TSharedRef<const FPackageStoreBackendContext> Context) override
|
|
{
|
|
}
|
|
|
|
virtual void BeginRead() override
|
|
{
|
|
}
|
|
|
|
virtual void EndRead() override
|
|
{
|
|
}
|
|
|
|
virtual EPackageStoreEntryStatus GetPackageStoreEntry(FPackageId PackageIde, FPackageStoreEntry& OutPackageStoreEntry) override;
|
|
|
|
virtual bool GetPackageRedirectInfo(FPackageId PackageId, FName& OutSourcePackageName, FPackageId& OutRedirectedToPackageId) override
|
|
{
|
|
return false;
|
|
}
|
|
|
|
private:
|
|
struct FStoreEntry
|
|
{
|
|
TArray<FPackageId> ImportedPackages;
|
|
TArray<FSHAHash> ShaderMapHashes;
|
|
};
|
|
TMap<FPackageId, FStoreEntry> StoreEntriesMap;
|
|
};
|
|
|
|
#endif |