#include "asset/EvaArchive.h"#include "data/HashFunction.h"#include <algorithm>#include <array>#include <cstdlib>#include <limits>#include <map>#include <set>#include <tuple>#include <zlib.h>#include <utf8proc.h>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::asset |
函数 | |
| Result< std::vector< std::uint8_t > > | eve::asset::buildEvaArchive (const EvaManifest &manifest, std::vector< EvaArchiveEntry > entries, const EvaArchiveLimits &limits={}) |
Build a deterministic ZIP64 .eva, selecting raw Deflate only when smaller than Store. | |
| Result< EvaArchive > | eve::asset::parseEvaArchive (std::span< const std::uint8_t > bytes, const EvaArchiveLimits &limits={}) |
Parse and fully verify an untrusted .eva ZIP64 image. | |
变量说明
◆ compressedSize
| std::uint64_t compressedSize = 0 |
在文件 EvaArchive.cpp 第 149 行定义.
被这些函数引用 eve::data::LZ4Compressor::compress(), eve::data::zlibCompressor::compress() , 以及 eve::asset::parseEvaArchive().
◆ crc
| std::uint32_t crc = 0 |
在文件 EvaArchive.cpp 第 147 行定义.
被这些函数引用 eve::cmdline::ZipWriter::addFile() , 以及 eve::asset::parseEvaArchive().
◆ decodedSize
| std::uint64_t decodedSize = 0 |
◆ localOffset
| std::uint64_t localOffset = 0 |
◆ method
| std::uint16_t method = 0 |
在文件 EvaArchive.cpp 第 151 行定义.
被这些函数引用 eve::lighting_editing::Light3DRuntimeApplier::apply(), eve::script::BindingContractRegistry::findMethod(), eve::script::BindingContractRegistry::findMethod(), eve::dev::LanguageServer::handleMessage(), eve::network::Network::httpRequest(), eve::network::Network::makeHttp(), eve::network::Network::newHttp(), eve::asset::parseEvaArchive(), eve::graphics::resolveShadowMethod(), eve::graphics::selectShadowCasters(), eve::graphics::Light3D::setShadowMethod(), eve::graphics::shadowMethodName(), eve::network::HttpRequest::submit() , 以及 eve::lighting_editing::Light3DDocumentTarget::validate().
◆ path
| std::string path |
在文件 EvaArchive.cpp 第 146 行定义.