Skip to main content

file

Function file 

Source
pub fn file(
    externals: &[&str],
    objects: &[Object],
    type_trees: bool,
) -> Result<Vec<u8>, BuildError>
Expand description

A SerializedFile (format 22, little-endian, engine 2022.3.0f1) of objects, each with a type record of its own, with the given externals (archive:/CAB-x/CAB-x). With type_trees false it stores no typetree, so UnityPy reads its objects by the TPK’s.