载入中...
搜索中...
未找到
AssetMigration.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
10#include "asset/EvaArchive.h"
11
12namespace eve::asset {
13
15[[nodiscard]] EVENGINE_API_FOUNDATION Result<SchemaVersion> currentAssetSchemaVersion(std::string_view type);
16
24[[nodiscard]] EVENGINE_API_FOUNDATION Result<EvaArchive> migrateEvaArchive(EvaArchive source,
25 const EvaArchiveLimits& limits = {});
26
27} // namespace eve::asset
Deterministic and bounded ZIP64 container for EVEngine source assets.
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
const UnitySourceAsset & source
const AssetImportLimits & limits
Result< EvaArchive > migrateEvaArchive(EvaArchive source, const EvaArchiveLimits &limits)
Migrate every definition in an owning archive to its current schema.
Result< SchemaVersion > currentAssetSchemaVersion(std::string_view type)
Return the current supported definition version for a canonical asset type.