2022-02-15 04:30:27 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "UnsyncCore.h"
|
|
|
|
|
|
|
|
|
|
namespace unsync {
|
|
|
|
|
|
|
|
|
|
struct FIOReaderStream;
|
|
|
|
|
struct FVectorStreamOut;
|
|
|
|
|
|
2022-03-08 08:17:08 -05:00
|
|
|
bool LoadBlocks(FGenericBlockArray& OutBlocks, uint32& OutBlockSize, const FPath& Filename);
|
|
|
|
|
bool SaveBlocks(const std::vector<FBlock128>& Blocks, uint32 BlockSize, const FPath& Filename);
|
2022-02-15 04:30:27 -05:00
|
|
|
|
2022-03-08 08:17:08 -05:00
|
|
|
bool LoadDirectoryManifest(FDirectoryManifest& OutManifest, const FPath& Root, FIOReaderStream& Stream);
|
|
|
|
|
bool LoadDirectoryManifest(FDirectoryManifest& OutManifest, const FPath& Root, const FPath& Filename);
|
2022-02-15 04:30:27 -05:00
|
|
|
|
|
|
|
|
bool SaveDirectoryManifest(const FDirectoryManifest& Manifest, FVectorStreamOut& Stream);
|
2022-03-08 08:17:08 -05:00
|
|
|
bool SaveDirectoryManifest(const FDirectoryManifest& Manifest, const FPath& Filename);
|
2022-02-15 04:30:27 -05:00
|
|
|
|
|
|
|
|
} // namespace unsync
|