Skip to main content

IResourceLocationMapMethods

Trait IResourceLocationMapMethods 

Source
pub trait IResourceLocationMapMethods: IResourceLocationMap {
    // Provided methods
    fn ctor(self, id: impl Into<Il2CppString>, capacity: impl Into<i32>) { ... }
    fn get_locator_id(self) -> Il2CppString { ... }
    fn set_locator_id(self, value: impl Into<Il2CppString>) { ... }
    fn ctor_2(
        self,
        id: impl Into<Il2CppString>,
        locations: impl Into<IList_1_Interface<ResourceLocationData>>,
    ) { ... }
    fn get_locations(
        self,
    ) -> Dictionary_2<Object, IList_1_Interface<IResourceLocation>> { ... }
    fn set_locations(
        self,
        value: impl Into<Dictionary_2<Object, IList_1_Interface<IResourceLocation>>>,
    ) { ... }
    fn get_keys(self) -> IEnumerable_1<Object> { ... }
    fn locate(
        self,
        key: impl Into<Object>,
        type: impl Into<SystemType>,
    ) -> (bool, IList_1_Interface<IResourceLocation>) { ... }
    fn add(self, key: impl Into<Object>, location: impl Into<IResourceLocation>) { ... }
    fn add_2(
        self,
        key: impl Into<Object>,
        locations: impl Into<IList_1_Interface<IResourceLocation>>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, id: impl Into<Il2CppString>, capacity: impl Into<i32>)

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

Source

fn get_locator_id(self) -> Il2CppString

get_LocatorId() overload

Source

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

set_LocatorId(::unity::Il2CppString) overload

Source

fn ctor_2( self, id: impl Into<Il2CppString>, locations: impl Into<IList_1_Interface<ResourceLocationData>>, )

.ctor(::unity::Il2CppString, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::addressable_assets::resource_locators::resourcelocationdata::ResourceLocationData>) overload

Source

fn get_locations( self, ) -> Dictionary_2<Object, IList_1_Interface<IResourceLocation>>

get_Locations() overload

Source

fn set_locations( self, value: impl Into<Dictionary_2<Object, IList_1_Interface<IResourceLocation>>>, )

set_Locations(crate::system::collections::generic::dictionary_2::Dictionary_2<crate::system::object::Object,crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>>) overload

Source

fn get_keys(self) -> IEnumerable_1<Object>

get_Keys() overload

Source

fn locate( self, key: impl Into<Object>, type: impl Into<SystemType>, ) -> (bool, IList_1_Interface<IResourceLocation>)

Locate(crate::system::object::Object, ::unity::SystemType, *mutcrate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>) overload

Source

fn add(self, key: impl Into<Object>, location: impl Into<IResourceLocation>)

Add(crate::system::object::Object, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation) overload

Source

fn add_2( self, key: impl Into<Object>, locations: impl Into<IList_1_Interface<IResourceLocation>>, )

Add(crate::system::object::Object, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>) 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: IResourceLocationMap> IResourceLocationMapMethods for __T

Available on crate feature unity_engine-addressable_assets-resource_locators-resourcelocationmap only.