btu/bsa/settings.hpp file

Namespaces

namespace btu
namespace btu::bsa
namespace btu::bsa::dummy

Classes

struct btu::bsa::AllowedPath

Enums

enum class FileTypes { Standard, Texture, Incompressible, Blacklist, Plugin, BSA }
enum class PluginLoadingMode { Limited, Unlimited }

Functions

NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(AllowedPath, extension, directories) struct Settings
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Settings, game, max_size, version, has_texture_version, suffix, texture_suffix, extension, plugin_extensions, dummy_plugin, standard_files, texture_files, incompressible_files) inline auto Settings
NLOHMANN_JSON_SERIALIZE_ENUM(FileTypes, {{FileTypes::Standard, "standard"}, {FileTypes::Texture, "texture"}, {FileTypes::Incompressible, "incompressible"}, {FileTypes::Blacklist, "blacklist"}, {FileTypes::Plugin, "plugin"}, {FileTypes::BSA, "bsa"}}) static const expr auto k_bsa_ext
NLOHMANN_JSON_SERIALIZE_ENUM(PluginLoadingMode, {{PluginLoadingMode::Limited, "limited"}, {PluginLoadingMode::Unlimited, "unlimited"}})
template <size_t N>
auto as_bytes(std::array<uint8_t, N> data) →  std::array<std::byte, N> constexpr
auto get_filetype(const Path& filepath, const Path& root, const Settings& sets) →  FileTypes
auto get_tes4_archive_type(const Path& filepath, const Settings& sets) →  std::optional<TES4ArchiveType>

Variables

static auto fnv constexpr
static auto fo4 constexpr
static auto k_archive_extensions constexpr
static auto k_ba2_ext constexpr
static auto oblivion constexpr
static auto sse constexpr
static auto starfield constexpr
static auto tes5 constexpr