Skip to main content

IDownloadHandlerAssetBundleMethods

Trait IDownloadHandlerAssetBundleMethods 

Source
pub trait IDownloadHandlerAssetBundleMethods: IDownloadHandlerAssetBundle {
    // Provided methods
    fn internal_create_asset_bundle(
        self,
        url: impl Into<Il2CppString>,
        crc: impl Into<u32>,
    ) { ... }
    fn internal_create_asset_bundle_cached(
        self,
        url: impl Into<Il2CppString>,
        name: impl Into<Il2CppString>,
        hash: impl Into<Hash128>,
        crc: impl Into<u32>,
    ) { ... }
    fn ctor(self, url: impl Into<Il2CppString>, crc: impl Into<u32>) { ... }
    fn ctor_2(
        self,
        url: impl Into<Il2CppString>,
        cached_bundle: impl Into<CachedAssetBundle>,
        crc: impl Into<u32>,
    ) { ... }
    fn get_data(self) -> Array<u8> { ... }
    fn get_text(self) -> Il2CppString { ... }
    fn get_asset_bundle(self) -> AssetBundle { ... }
}

Provided Methods§

Source

fn internal_create_asset_bundle( self, url: impl Into<Il2CppString>, crc: impl Into<u32>, )

InternalCreateAssetBundle(::unity::Il2CppString, u32) overload

Source

fn internal_create_asset_bundle_cached( self, url: impl Into<Il2CppString>, name: impl Into<Il2CppString>, hash: impl Into<Hash128>, crc: impl Into<u32>, )

InternalCreateAssetBundleCached(::unity::Il2CppString, ::unity::Il2CppString, crate::unity_engine::hash128::Hash128, u32) overload

Source

fn ctor(self, url: impl Into<Il2CppString>, crc: impl Into<u32>)

.ctor(::unity::Il2CppString, u32) overload

Source

fn ctor_2( self, url: impl Into<Il2CppString>, cached_bundle: impl Into<CachedAssetBundle>, crc: impl Into<u32>, )

.ctor(::unity::Il2CppString, crate::unity_engine::cachedassetbundle::CachedAssetBundle, u32) overload

Source

fn get_data(self) -> Array<u8>

GetData() overload

Source

fn get_text(self) -> Il2CppString

GetText() overload

Source

fn get_asset_bundle(self) -> AssetBundle

get_assetBundle() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IDownloadHandlerAssetBundle> IDownloadHandlerAssetBundleMethods for __T

Available on crate feature unity_engine-networking-downloadhandlerassetbundle only.