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§
Sourcefn get_hash(self) -> Il2CppString
fn get_hash(self) -> Il2CppString
get_Hash() overload
Sourcefn set_hash(self, value: impl Into<Il2CppString>)
fn set_hash(self, value: impl Into<Il2CppString>)
set_Hash(::unity::Il2CppString) overload
Sourcefn get_timeout(self) -> i32
fn get_timeout(self) -> i32
get_Timeout() overload
Sourcefn set_timeout(self, value: impl Into<i32>)
fn set_timeout(self, value: impl Into<i32>)
set_Timeout(i32) overload
Sourcefn get_chunked_transfer(self) -> bool
fn get_chunked_transfer(self) -> bool
get_ChunkedTransfer() overload
Sourcefn set_chunked_transfer(self, value: impl Into<bool>)
fn set_chunked_transfer(self, value: impl Into<bool>)
set_ChunkedTransfer(bool) overload
Sourcefn get_redirect_limit(self) -> i32
fn get_redirect_limit(self) -> i32
get_RedirectLimit() overload
Sourcefn set_redirect_limit(self, value: impl Into<i32>)
fn set_redirect_limit(self, value: impl Into<i32>)
set_RedirectLimit(i32) overload
Sourcefn get_retry_count(self) -> i32
fn get_retry_count(self) -> i32
get_RetryCount() overload
Sourcefn set_retry_count(self, value: impl Into<i32>)
fn set_retry_count(self, value: impl Into<i32>)
set_RetryCount(i32) overload
Sourcefn get_bundle_name(self) -> Il2CppString
fn get_bundle_name(self) -> Il2CppString
get_BundleName() overload
Sourcefn set_bundle_name(self, value: impl Into<Il2CppString>)
fn set_bundle_name(self, value: impl Into<Il2CppString>)
set_BundleName(::unity::Il2CppString) overload
Sourcefn get_bundle_size(self) -> i64
fn get_bundle_size(self) -> i64
get_BundleSize() overload
Sourcefn set_bundle_size(self, value: impl Into<i64>)
fn set_bundle_size(self, value: impl Into<i64>)
set_BundleSize(i64) overload
Sourcefn get_use_crc_for_cached_bundle(self) -> bool
fn get_use_crc_for_cached_bundle(self) -> bool
get_UseCrcForCachedBundle() overload
Sourcefn set_use_crc_for_cached_bundle(self, value: impl Into<bool>)
fn set_use_crc_for_cached_bundle(self, value: impl Into<bool>)
set_UseCrcForCachedBundle(bool) overload
Sourcefn get_use_unity_web_request_for_local_bundles(self) -> bool
fn get_use_unity_web_request_for_local_bundles(self) -> bool
get_UseUnityWebRequestForLocalBundles() overload
Sourcefn set_use_unity_web_request_for_local_bundles(self, value: impl Into<bool>)
fn set_use_unity_web_request_for_local_bundles(self, value: impl Into<bool>)
set_UseUnityWebRequestForLocalBundles(bool) overload
Sourcefn get_clear_other_cached_versions_when_loaded(self) -> bool
fn get_clear_other_cached_versions_when_loaded(self) -> bool
get_ClearOtherCachedVersionsWhenLoaded() overload
Sourcefn set_clear_other_cached_versions_when_loaded(self, value: impl Into<bool>)
fn set_clear_other_cached_versions_when_loaded(self, value: impl Into<bool>)
set_ClearOtherCachedVersionsWhenLoaded(bool) overload
Sourcefn compute_size(
self,
location: impl Into<IResourceLocation>,
resource_manager: impl Into<ResourceManager>,
) -> i64
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
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§
impl<__T: IAssetBundleRequestOptions> IAssetBundleRequestOptionsMethods for __T
unity_engine-resource_management-resource_providers-assetbundlerequestoptions only.