struct SavePackageOptions

Options used for controlling the Package::Save operation.

Public

Fields

CompressResources

bool CompressResources

If true, resources will be compressed before being saved.

SaveMetaDataOnly

bool SaveMetaDataOnly

If true, the save process will attempt to write only package meta-data, without writing the resource data.

This is only possible if the new meta-data takes equal or less space than previous meta-data. If new meta-data takes more space than existing meta-data, then the whole package will be resaved, as if this option is disabled.

You can reduce the chance the meta-data takes more space than needed by adding MetaDataPaddingByteCount when saving the package.

MetaDataPaddingByteCount

u32 MetaDataPaddingByteCount

Number of empty space to insert after the meta-data in the package.

This allows you to overwrite the meta-data with larger meta-data in the future, without having to re-write the entire package (See the SaveMetaDataOnly option).