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§
Sourcefn setup(self, terrain: impl Into<MapTerrain>, is_resume: impl Into<bool>)
fn setup(self, terrain: impl Into<MapTerrain>, is_resume: impl Into<bool>)
Setup(crate::app::mapterrain::MapTerrain, bool) overload
Sourcefn is_out_of_map(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
fn is_out_of_map(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
IsOutOfMap(i32, i32) overload
Sourcefn is_out_of_play_area(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
IsOutOfPlayArea(i32, i32) overload
Sourcefn can_target(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
fn can_target(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
CanTarget(i32, i32) overload
Sourcefn can_target_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
unit: impl Into<Unit>,
) -> bool
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
Sourcefn can_target_3(
self,
x: impl Into<i32>,
z: impl Into<i32>,
is_consider_not_target: impl Into<bool>,
) -> bool
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
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
Sourcefn get_play_area_x(self) -> i32
fn get_play_area_x(self) -> i32
get_PlayAreaX() overload
Sourcefn set_play_area_x(self, value: impl Into<i32>)
fn set_play_area_x(self, value: impl Into<i32>)
set_PlayAreaX(i32) overload
Sourcefn get_play_area_z(self) -> i32
fn get_play_area_z(self) -> i32
get_PlayAreaZ() overload
Sourcefn set_play_area_z(self, value: impl Into<i32>)
fn set_play_area_z(self, value: impl Into<i32>)
set_PlayAreaZ(i32) overload
Sourcefn get_play_area_w(self) -> i32
fn get_play_area_w(self) -> i32
get_PlayAreaW() overload
Sourcefn set_play_area_w(self, value: impl Into<i32>)
fn set_play_area_w(self, value: impl Into<i32>)
set_PlayAreaW(i32) overload
Sourcefn get_play_area_h(self) -> i32
fn get_play_area_h(self) -> i32
get_PlayAreaH() overload
Sourcefn set_play_area_h(self, value: impl Into<i32>)
fn set_play_area_h(self, value: impl Into<i32>)
set_PlayAreaH(i32) overload
Sourcefn get_play_area_x1(self) -> i32
fn get_play_area_x1(self) -> i32
get_PlayAreaX1() overload
Sourcefn set_play_area_x1(self, value: impl Into<i32>)
fn set_play_area_x1(self, value: impl Into<i32>)
set_PlayAreaX1(i32) overload
Sourcefn get_play_area_z1(self) -> i32
fn get_play_area_z1(self) -> i32
get_PlayAreaZ1() overload
Sourcefn set_play_area_z1(self, value: impl Into<i32>)
fn set_play_area_z1(self, value: impl Into<i32>)
set_PlayAreaZ1(i32) overload
Sourcefn get_play_area_x2(self) -> i32
fn get_play_area_x2(self) -> i32
get_PlayAreaX2() overload
Sourcefn set_play_area_x2(self, value: impl Into<i32>)
fn set_play_area_x2(self, value: impl Into<i32>)
set_PlayAreaX2(i32) overload
Sourcefn get_play_area_z2(self) -> i32
fn get_play_area_z2(self) -> i32
get_PlayAreaZ2() overload
Sourcefn set_play_area_z2(self, value: impl Into<i32>)
fn set_play_area_z2(self, value: impl Into<i32>)
set_PlayAreaZ2(i32) overload
Sourcefn get_unit(self) -> MapImageUnit
fn get_unit(self) -> MapImageUnit
get_Unit() overload
Sourcefn get_terrain(self) -> MapImageTerrain
fn get_terrain(self) -> MapImageTerrain
get_Terrain() overload
Sourcefn get_cost(self) -> MapImageCost
fn get_cost(self) -> MapImageCost
get_Cost() overload
Sourcefn get_danger(self) -> MapImageDanger
fn get_danger(self) -> MapImageDanger
get_Danger() overload
Sourcefn get_talk(self) -> MapImageTalk
fn get_talk(self) -> MapImageTalk
get_Talk() overload
Sourcefn get_range(self) -> MapImageRange
fn get_range(self) -> MapImageRange
get_Range() overload
Sourcefn get_history(self) -> MapImageHistory
fn get_history(self) -> MapImageHistory
get_History() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn get_target_unit(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit
fn get_target_unit(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit
GetTargetUnit(i32, i32) overload
Sourcefn get_target_unit_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
allow_asphyxiation: impl Into<bool>,
) -> Unit
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
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: IMapImage> IMapImageMethods for __T
app-mapimage only.