3#include "../PackFile.h"
13 [[nodiscard]]
static std::unique_ptr<PackFile>
open(
const std::string& path,
const EntryCallback& callback =
nullptr);
15 static constexpr inline std::string_view
GUID =
"FDE9941424FF4EC1BC4C90A7DA52AF87";
17 [[nodiscard]]
constexpr std::string_view
getGUID()
const override {
21 [[nodiscard]] std::optional<std::vector<std::byte>>
readEntry(
const std::string& path_)
const override;
#define VPKPP_REGISTER_PACKFILE_OPEN(extension, function)
Attribute getSupportedEntryAttributes() const override
Returns a list of supported entry attributes Mostly for GUI programs that show entries and their meta...
static constexpr std::string_view GUID
constexpr std::string_view getGUID() const override
Get the GUID corresponding to the pack file type.
static std::unique_ptr< PackFile > open(const std::string &path, const EntryCallback &callback=nullptr)
Open a HOG file.
std::optional< std::vector< std::byte > > readEntry(const std::string &path_) const override
Try to read the entry's data to a bytebuffer.
PackFileReadOnly(const std::string &fullFilePath_)
EntryCallbackBase< void > EntryCallback
constexpr std::string_view HOG_EXTENSION
constexpr std::string_view HOG_SIGNATURE