btu/bsa/archive.hpp file

Namespaces

namespace btu
namespace btu::bsa

Classes

class btu::bsa::File
class btu::bsa::Archive

Enums

enum class ArchiveType: std::uint8_t { Textures, Standard }
enum class ArchiveVersion: std::uint32_t { tes3, tes4, fo3, tes5, sse, fo4, starfield }
enum class Compression: std::uint8_t { Yes, No }

Typedefs

using UnderlyingFile = { {ArchiveVersion::tes3, "tes3"}, {ArchiveVersion::tes4, "tes4"}, {ArchiveVersion::fo3, "fo3"}, {ArchiveVersion::tes5, "tes5"}, {ArchiveVersion::sse, "sse"}, {ArchiveVersion::fo4, "fo4"}, {ArchiveVersion::starfield, "starfield"}, }) using TES4ArchiveType=libbsa::tes4::archive_type std::variant<libbsa::tes3::file, libbsa::tes4::file, libbsa::fo4::file>

Functions

NLOHMANN_JSON_SERIALIZE_ENUM(ArchiveType, {{ArchiveType::Textures, "textures"}, {ArchiveType::Standard, "standard"}}) NLOHMANN_JSON_SERIALIZE_ENUM(ArchiveVersion
template <class... Keys>
auto virtual_to_local_path(const Keys&... a_keys) →  std::u8string noexcept