pub struct Bundle {
pub preload: Vec<(i32, i64)>,
pub rows: Vec<Row>,
pub no_main_asset: bool,
pub no_container: bool,
pub shadow_container: Option<Vec<Row>>,
pub hostile: bool,
}Expand description
The AssetBundle’s fields.
Fields§
§preload: Vec<(i32, i64)>m_PreloadTable.
rows: Vec<Row>m_Container.
no_main_asset: boolLeaves m_MainAsset out (UnityPy then builds an UnknownObject).
no_container: boolLeaves m_Container out (object mode then has no such attribute).
shadow_container: Option<Vec<Row>>Adds a second field named m.Container after m_Container (the two
clean to one key; object mode keeps the last).
hostile: boolWrites m_Container and m_PreloadTable as a damaged tree can hold
them: each pair’s key an int (the row’s position) instead of a
string, preloadIndex a float, preloadSize named preloadSizX,
the asset’s m_FileID a float, and each preload pointer with a
third child, m_Extra (an int, written as 0). UnityPy still loads
the file: its load reads only each asset’s path_id.
Trait Implementations§
impl Eq for Bundle
impl StructuralPartialEq for Bundle
Auto Trait Implementations§
impl Forget for Bundle
impl Freeze for Bundle
impl Move for Bundle
impl RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnsafeUnpin for Bundle
impl UnwindSafe for Bundle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more