Skip to main content

IMapImageMethods

Trait IMapImageMethods 

Source
pub trait IMapImageMethods: IMapImage {
Show 53 methods // Provided methods fn ctor(self) { ... } fn setup(self, terrain: impl Into<MapTerrain>, is_resume: impl Into<bool>) { ... } fn set_size(self, w: impl Into<i32>, h: impl Into<i32>) { ... } fn is_out_of_map(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... } fn is_out_of_play_area(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... } fn can_target(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... } fn can_target_2( self, x: impl Into<i32>, z: impl Into<i32>, unit: impl Into<Unit>, ) -> bool { ... } fn can_target_3( self, x: impl Into<i32>, z: impl Into<i32>, is_consider_not_target: impl Into<bool>, ) -> bool { ... } 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 get_x(self) -> i32 { ... } fn get_z(self) -> i32 { ... } fn get_w(self) -> i32 { ... } fn set_w(self, value: impl Into<i32>) { ... } fn get_h(self) -> i32 { ... } fn set_h(self, value: impl Into<i32>) { ... } fn get_play_area_x(self) -> i32 { ... } fn set_play_area_x(self, value: impl Into<i32>) { ... } fn get_play_area_z(self) -> i32 { ... } fn set_play_area_z(self, value: impl Into<i32>) { ... } fn get_play_area_w(self) -> i32 { ... } fn set_play_area_w(self, value: impl Into<i32>) { ... } fn get_play_area_h(self) -> i32 { ... } fn set_play_area_h(self, value: impl Into<i32>) { ... } fn get_x1(self) -> i32 { ... } fn set_x1(self, value: impl Into<i32>) { ... } fn get_z1(self) -> i32 { ... } fn set_z1(self, value: impl Into<i32>) { ... } fn get_x2(self) -> i32 { ... } fn set_x2(self, value: impl Into<i32>) { ... } fn get_z2(self) -> i32 { ... } fn set_z2(self, value: impl Into<i32>) { ... } fn get_play_area_x1(self) -> i32 { ... } fn set_play_area_x1(self, value: impl Into<i32>) { ... } fn get_play_area_z1(self) -> i32 { ... } fn set_play_area_z1(self, value: impl Into<i32>) { ... } fn get_play_area_x2(self) -> i32 { ... } fn set_play_area_x2(self, value: impl Into<i32>) { ... } fn get_play_area_z2(self) -> i32 { ... } fn set_play_area_z2(self, value: impl Into<i32>) { ... } fn get_unit(self) -> MapImageUnit { ... } fn get_terrain(self) -> MapImageTerrain { ... } fn get_cost(self) -> MapImageCost { ... } fn get_danger(self) -> MapImageDanger { ... } fn get_talk(self) -> MapImageTalk { ... } fn get_range(self) -> MapImageRange { ... } fn get_history(self) -> MapImageHistory { ... } fn get_name(self) -> Il2CppString { ... } fn get_target_unit(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit { ... } fn get_target_unit_2( self, x: impl Into<i32>, z: impl Into<i32>, allow_asphyxiation: impl Into<bool>, ) -> Unit { ... } fn clamp_x(self, x: impl Into<i32>) -> i32 { ... } fn clamp_z(self, z: impl Into<i32>) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn setup(self, terrain: impl Into<MapTerrain>, is_resume: impl Into<bool>)

Setup(crate::app::mapterrain::MapTerrain, bool) overload

Source

fn set_size(self, w: impl Into<i32>, h: impl Into<i32>)

SetSize(i32, i32) overload

Source

fn is_out_of_map(self, x: impl Into<i32>, z: impl Into<i32>) -> bool

IsOutOfMap(i32, i32) overload

Source

fn is_out_of_play_area(self, x: impl Into<i32>, z: impl Into<i32>) -> bool

IsOutOfPlayArea(i32, i32) overload

Source

fn can_target(self, x: impl Into<i32>, z: impl Into<i32>) -> bool

CanTarget(i32, i32) overload

Source

fn can_target_2( self, x: impl Into<i32>, z: impl Into<i32>, unit: impl Into<Unit>, ) -> bool

CanTarget(i32, i32, crate::app::unit::Unit) overload

Source

fn can_target_3( self, x: impl Into<i32>, z: impl Into<i32>, is_consider_not_target: impl Into<bool>, ) -> bool

CanTarget(i32, i32, bool) 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 get_x(self) -> i32

get_X() overload

Source

fn get_z(self) -> i32

get_Z() overload

Source

fn get_w(self) -> i32

get_W() overload

Source

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

set_W(i32) overload

Source

fn get_h(self) -> i32

get_H() overload

Source

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

set_H(i32) overload

Source

fn get_play_area_x(self) -> i32

get_PlayAreaX() overload

Source

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

set_PlayAreaX(i32) overload

Source

fn get_play_area_z(self) -> i32

get_PlayAreaZ() overload

Source

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

set_PlayAreaZ(i32) overload

Source

fn get_play_area_w(self) -> i32

get_PlayAreaW() overload

Source

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

set_PlayAreaW(i32) overload

Source

fn get_play_area_h(self) -> i32

get_PlayAreaH() overload

Source

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

set_PlayAreaH(i32) overload

Source

fn get_x1(self) -> i32

get_X1() overload

Source

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

set_X1(i32) overload

Source

fn get_z1(self) -> i32

get_Z1() overload

Source

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

set_Z1(i32) overload

Source

fn get_x2(self) -> i32

get_X2() overload

Source

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

set_X2(i32) overload

Source

fn get_z2(self) -> i32

get_Z2() overload

Source

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

set_Z2(i32) overload

Source

fn get_play_area_x1(self) -> i32

get_PlayAreaX1() overload

Source

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

set_PlayAreaX1(i32) overload

Source

fn get_play_area_z1(self) -> i32

get_PlayAreaZ1() overload

Source

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

set_PlayAreaZ1(i32) overload

Source

fn get_play_area_x2(self) -> i32

get_PlayAreaX2() overload

Source

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

set_PlayAreaX2(i32) overload

Source

fn get_play_area_z2(self) -> i32

get_PlayAreaZ2() overload

Source

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

set_PlayAreaZ2(i32) overload

Source

fn get_unit(self) -> MapImageUnit

get_Unit() overload

Source

fn get_terrain(self) -> MapImageTerrain

get_Terrain() overload

Source

fn get_cost(self) -> MapImageCost

get_Cost() overload

Source

fn get_danger(self) -> MapImageDanger

get_Danger() overload

Source

fn get_talk(self) -> MapImageTalk

get_Talk() overload

Source

fn get_range(self) -> MapImageRange

get_Range() overload

Source

fn get_history(self) -> MapImageHistory

get_History() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_target_unit(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit

GetTargetUnit(i32, i32) overload

Source

fn get_target_unit_2( self, x: impl Into<i32>, z: impl Into<i32>, allow_asphyxiation: impl Into<bool>, ) -> Unit

GetTargetUnit(i32, i32, bool) overload

Source

fn clamp_x(self, x: impl Into<i32>) -> i32

ClampX(i32) overload

Source

fn clamp_z(self, z: impl Into<i32>) -> i32

ClampZ(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§

Source§

impl<__T: IMapImage> IMapImageMethods for __T

Available on crate feature app-mapimage only.