MCPcopy Index your code
hub / github.com/K0lb3/UnityPy / extract_assets

Function extract_assets

UnityPy/tools/extractor.py:81–157  ·  view source on GitHub ↗

Extracts some or all assets from the given source. Args: src (Union[Path, BytesIO, bytes, bytearray]): [description] dst (Path): [description] use_container (bool, optional): [description]. Defaults to True. ignore_first_container_dirs (int, optional): [descripti

(
    src: Union[Path, BytesIO, bytes, bytearray],
    dst: Path,
    use_container: bool = True,
    ignore_first_container_dirs: int = 0,
    append_path_id: bool = False,
    export_unknown_as_typetree: bool = False,
    asset_filter: Optional[Callable[[Object], bool]] = None,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_extractorFunction · 0.90

Calls 5

defaulted_export_indexFunction · 0.85
export_objFunction · 0.85
loadMethod · 0.80
keysMethod · 0.45
itemsMethod · 0.45

Tested by 1

test_extractorFunction · 0.72