Skip to main content

IMapLayerMethods

Trait IMapLayerMethods 

Source
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§

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn get_item(self, i: impl Into<i32>) -> MapLayer_Data

get_Item(i32) overload

Source

fn clear(self)

Clear() overload

Source

fn add(self, data: impl Into<MapLayer_Data>)

Add(crate::app::maplayer::MapLayer_Data) overload

Source

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

Source

fn set_enable( self, x: impl Into<i32>, z: impl Into<i32>, enable: impl Into<bool>, )

SetEnable(i32, i32, bool) overload

Source

fn set_enable_2(self, group: impl Into<i32>, enable: impl Into<bool>)

SetEnable(i32, bool) overload

Source

fn find(self, x: impl Into<i32>, z: impl Into<i32>) -> MapLayer_Data

Find(i32, i32) overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) 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: IMapLayer> IMapLayerMethods for __T

Available on crate feature app-maplayer only.