18 [[nodiscard]]
static std::unique_ptr<PackFile>
open(
const std::string& path,
const EntryCallback& callback =
nullptr);
26 [[nodiscard]]
explicit operator std::string()
const override;
29 explicit PakLump(
const std::string& fullFilePath_);
#define VPKPP_REGISTER_PACKFILE_OPEN(extension, function)
PakLump(const std::string &fullFilePath_)
bool bake(const std::string &outputDir_, vpkpp::BakeOptions options, const EntryCallback &callback) override
If output folder is an empty string, it will overwrite the original.
constexpr bool isCaseSensitive() const noexcept override
Does the format support case-sensitive file names?
static std::unique_ptr< PackFile > open(const std::string &path, const EntryCallback &callback=nullptr)
Open a BSP file.
const std::string tempPakLumpPath
EntryCallbackBase< void > EntryCallback
constexpr std::string_view BSP_EXTENSION