struct final
#include <bsa/tes4.hpp>
read_params Common parameters to configure how files are read.
// Read and compress a file for TES:IV bsa::tes4::file::read_params{ .version_ = bsa::tes4::version::tes4, .compression_type_ = bsa::compression_type::compressed, }; // Read and compress a file for F3/FNV/TES:V bsa::tes4::file::read_params{ .version_ = bsa::tes4::version::fo3, .compression_type_ = bsa::compression_type::compressed, }; // Read and compress a file for TES:V on the xbox bsa::tes4::file::read_params{ .version_ = bsa::tes4::version::tes5, .compression_codec_ = bsa::tes4::compression_codec::xmem, .compression_type_ = bsa::compression_type::compressed, }; // Read and compress a file for SSE bsa::tes4::file::read_params{ .version_ = bsa::tes4::version::sse, .compression_type_ = bsa::compression_type::compressed, };
Public variables
- version version_
- The version to compress the file for.
-
compression_
codec compression_codec_ - The codec to use.
-
compression_
type compression_type_ - The resulting compression of the file read.