You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 6296fc872a1851b4ccae7e39 #rb pj.kack [CL 20447121 by CarlMagnus Nordin in ue5-main branch]
43 lines
982 B
C++
43 lines
982 B
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:
|
|
TArray<uint8> StoreEntriesData;
|
|
TMap<FPackageId, const FFilePackageStoreEntry*> StoreEntriesMap;
|
|
};
|
|
|
|
#endif |