Skip to main content

IAssetBundleRequestOptionsMethods

Trait IAssetBundleRequestOptionsMethods 

Source
pub trait IAssetBundleRequestOptionsMethods: IAssetBundleRequestOptions {
Show 24 methods // Provided methods fn get_hash(self) -> Il2CppString { ... } fn set_hash(self, value: impl Into<Il2CppString>) { ... } fn get_crc(self) -> u32 { ... } fn set_crc(self, value: impl Into<u32>) { ... } fn get_timeout(self) -> i32 { ... } fn set_timeout(self, value: impl Into<i32>) { ... } fn get_chunked_transfer(self) -> bool { ... } fn set_chunked_transfer(self, value: impl Into<bool>) { ... } fn get_redirect_limit(self) -> i32 { ... } fn set_redirect_limit(self, value: impl Into<i32>) { ... } fn get_retry_count(self) -> i32 { ... } fn set_retry_count(self, value: impl Into<i32>) { ... } fn get_bundle_name(self) -> Il2CppString { ... } fn set_bundle_name(self, value: impl Into<Il2CppString>) { ... } fn get_bundle_size(self) -> i64 { ... } fn set_bundle_size(self, value: impl Into<i64>) { ... } fn get_use_crc_for_cached_bundle(self) -> bool { ... } fn set_use_crc_for_cached_bundle(self, value: impl Into<bool>) { ... } fn get_use_unity_web_request_for_local_bundles(self) -> bool { ... } fn set_use_unity_web_request_for_local_bundles(self, value: impl Into<bool>) { ... } fn get_clear_other_cached_versions_when_loaded(self) -> bool { ... } fn set_clear_other_cached_versions_when_loaded(self, value: impl Into<bool>) { ... } fn compute_size( self, location: impl Into<IResourceLocation>, resource_manager: impl Into<ResourceManager>, ) -> i64 { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_hash(self) -> Il2CppString

get_Hash() overload

Source

fn set_hash(self, value: impl Into<Il2CppString>)

set_Hash(::unity::Il2CppString) overload

Source

fn get_crc(self) -> u32

get_Crc() overload

Source

fn set_crc(self, value: impl Into<u32>)

set_Crc(u32) overload

Source

fn get_timeout(self) -> i32

get_Timeout() overload

Source

fn set_timeout(self, value: impl Into<i32>)

set_Timeout(i32) overload

Source

fn get_chunked_transfer(self) -> bool

get_ChunkedTransfer() overload

Source

fn set_chunked_transfer(self, value: impl Into<bool>)

set_ChunkedTransfer(bool) overload

Source

fn get_redirect_limit(self) -> i32

get_RedirectLimit() overload

Source

fn set_redirect_limit(self, value: impl Into<i32>)

set_RedirectLimit(i32) overload

Source

fn get_retry_count(self) -> i32

get_RetryCount() overload

Source

fn set_retry_count(self, value: impl Into<i32>)

set_RetryCount(i32) overload

Source

fn get_bundle_name(self) -> Il2CppString

get_BundleName() overload

Source

fn set_bundle_name(self, value: impl Into<Il2CppString>)

set_BundleName(::unity::Il2CppString) overload

Source

fn get_bundle_size(self) -> i64

get_BundleSize() overload

Source

fn set_bundle_size(self, value: impl Into<i64>)

set_BundleSize(i64) overload

Source

fn get_use_crc_for_cached_bundle(self) -> bool

get_UseCrcForCachedBundle() overload

Source

fn set_use_crc_for_cached_bundle(self, value: impl Into<bool>)

set_UseCrcForCachedBundle(bool) overload

Source

fn get_use_unity_web_request_for_local_bundles(self) -> bool

get_UseUnityWebRequestForLocalBundles() overload

Source

fn set_use_unity_web_request_for_local_bundles(self, value: impl Into<bool>)

set_UseUnityWebRequestForLocalBundles(bool) overload

Source

fn get_clear_other_cached_versions_when_loaded(self) -> bool

get_ClearOtherCachedVersionsWhenLoaded() overload

Source

fn set_clear_other_cached_versions_when_loaded(self, value: impl Into<bool>)

set_ClearOtherCachedVersionsWhenLoaded(bool) overload

Source

fn compute_size( self, location: impl Into<IResourceLocation>, resource_manager: impl Into<ResourceManager>, ) -> i64

ComputeSize(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::resource_management::resourcemanager::ResourceManager) overload

Source

fn ctor(self)

.ctor() 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: IAssetBundleRequestOptions> IAssetBundleRequestOptionsMethods for __T

Available on crate feature unity_engine-resource_management-resource_providers-assetbundlerequestoptions only.