跳到主要内容

Vfp 属性

compile_result

asset.compile_result -> dict[str, object] | None

Vfp.compile() / Vfp.from_vox() 返回统计副本;Vfp.parse() 返回 None。字典包含 sourceHashvfpBytessolidVoxelCount、缓存字节数等,修改它不会改动资产。

source_hash

asset.source_hash -> str

返回 Header 中权威数据 hash 的十六进制字符串。它关联 PAL0 与 VOX0,不由 THMB、PRVW 或其他缓存决定。

generation

asset.generation -> int

返回当前活动目录 generation。用于诊断目录版本,不是 SDK 版本或资产内容版本;内容身份仍应比较 source_hash