pub trait IMapLayerMethods: IMapLayer {
// Provided methods
fn get_count(self) -> i32 { ... }
fn get_item(self, i: impl Into<i32>) -> MapLayer_Data { ... }
fn clear(self) { ... }
fn add(self, data: impl Into<MapLayer_Data>) { ... }
fn add_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
w: impl Into<i32>,
h: impl Into<i32>,
group: impl Into<i32>,
tid: impl Into<Il2CppString>,
enable: impl Into<bool>,
) { ... }
fn set_enable(
self,
x: impl Into<i32>,
z: impl Into<i32>,
enable: impl Into<bool>,
) { ... }
fn set_enable_2(self, group: impl Into<i32>, enable: impl Into<bool>) { ... }
fn find(self, x: impl Into<i32>, z: impl Into<i32>) -> MapLayer_Data { ... }
fn get_version(self) -> i32 { ... }
fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
fn on_deserialize(
self,
stream: impl Into<Stream_2>,
version: impl Into<i32>,
) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_item(self, i: impl Into<i32>) -> MapLayer_Data
fn get_item(self, i: impl Into<i32>) -> MapLayer_Data
get_Item(i32) overload
Sourcefn add(self, data: impl Into<MapLayer_Data>)
fn add(self, data: impl Into<MapLayer_Data>)
Add(crate::app::maplayer::MapLayer_Data) overload
Sourcefn add_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
w: impl Into<i32>,
h: impl Into<i32>,
group: impl Into<i32>,
tid: impl Into<Il2CppString>,
enable: impl Into<bool>,
)
fn add_2( self, x: impl Into<i32>, z: impl Into<i32>, w: impl Into<i32>, h: impl Into<i32>, group: impl Into<i32>, tid: impl Into<Il2CppString>, enable: impl Into<bool>, )
Add(i32, i32, i32, i32, i32, ::unity::Il2CppString, bool) overload
Sourcefn set_enable(
self,
x: impl Into<i32>,
z: impl Into<i32>,
enable: impl Into<bool>,
)
fn set_enable( self, x: impl Into<i32>, z: impl Into<i32>, enable: impl Into<bool>, )
SetEnable(i32, i32, bool) overload
Sourcefn set_enable_2(self, group: impl Into<i32>, enable: impl Into<bool>)
fn set_enable_2(self, group: impl Into<i32>, enable: impl Into<bool>)
SetEnable(i32, bool) overload
Sourcefn find(self, x: impl Into<i32>, z: impl Into<i32>) -> MapLayer_Data
fn find(self, x: impl Into<i32>, z: impl Into<i32>) -> MapLayer_Data
Find(i32, i32) overload
Sourcefn get_version(self) -> i32
fn get_version(self) -> i32
get_Version() overload
Sourcefn on_serialize(self, stream: impl Into<Stream_2>)
fn on_serialize(self, stream: impl Into<Stream_2>)
OnSerialize(crate::app::stream_2::Stream_2) overload
Sourcefn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
OnDeserialize(crate::app::stream_2::Stream_2, i32) 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: IMapLayer> IMapLayerMethods for __T
Available on crate feature
app-maplayer only.