pub trait IMapSightMethods: IMapSight {
Show 24 methods
// Provided methods
fn get_is_usable(self) -> bool { ... }
fn set_is_usable(self, value: impl Into<bool>) { ... }
fn ctor(self) { ... }
fn setup(self, chapter: impl Into<ChapterData>) { ... }
fn update(self, unit: impl Into<Unit>) { ... }
fn update_2(self, force_type: impl Into<Force_Type>) { ... }
fn update_all(self) { ... }
fn update_projection(self) { ... }
fn update_unit(self) { ... }
fn is_in(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... }
fn is_in_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
force_type: impl Into<Force_Type>,
) -> bool { ... }
fn is_out(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... }
fn is_out_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
force_type: impl Into<Force_Type>,
) -> bool { ... }
fn get_sight_image(self, unit: impl Into<Unit>) -> MapImageSight { ... }
fn get_sight_image_2(
self,
force_type: impl Into<Force_Type>,
) -> MapImageSight { ... }
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_image_player(self) -> MapImageSight { ... }
fn get_image_enemy(self) -> MapImageSight { ... }
fn get_image_ally(self) -> MapImageSight { ... }
fn get_view_image(self) -> MapImageSight { ... }
fn is_view_in(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... }
fn is_view_out(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... }
}Provided Methods§
Sourcefn get_is_usable(self) -> bool
fn get_is_usable(self) -> bool
get_IsUsable() overload
Sourcefn set_is_usable(self, value: impl Into<bool>)
fn set_is_usable(self, value: impl Into<bool>)
set_IsUsable(bool) overload
Sourcefn setup(self, chapter: impl Into<ChapterData>)
fn setup(self, chapter: impl Into<ChapterData>)
Setup(crate::app::chapterdata::ChapterData) overload
Sourcefn update_2(self, force_type: impl Into<Force_Type>)
fn update_2(self, force_type: impl Into<Force_Type>)
Update(crate::app::force::Force_Type) overload
Sourcefn update_all(self)
fn update_all(self)
UpdateAll() overload
Sourcefn update_projection(self)
fn update_projection(self)
UpdateProjection() overload
Sourcefn update_unit(self)
fn update_unit(self)
UpdateUnit() overload
Sourcefn is_in_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
force_type: impl Into<Force_Type>,
) -> bool
fn is_in_2( self, x: impl Into<i32>, z: impl Into<i32>, force_type: impl Into<Force_Type>, ) -> bool
IsIn(i32, i32, crate::app::force::Force_Type) overload
Sourcefn is_out_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
force_type: impl Into<Force_Type>,
) -> bool
fn is_out_2( self, x: impl Into<i32>, z: impl Into<i32>, force_type: impl Into<Force_Type>, ) -> bool
IsOut(i32, i32, crate::app::force::Force_Type) overload
Sourcefn get_sight_image(self, unit: impl Into<Unit>) -> MapImageSight
fn get_sight_image(self, unit: impl Into<Unit>) -> MapImageSight
GetSightImage(crate::app::unit::Unit) overload
Sourcefn get_sight_image_2(self, force_type: impl Into<Force_Type>) -> MapImageSight
fn get_sight_image_2(self, force_type: impl Into<Force_Type>) -> MapImageSight
GetSightImage(crate::app::force::Force_Type) 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_image_player(self) -> MapImageSight
fn get_image_player(self) -> MapImageSight
get_ImagePlayer() overload
Sourcefn get_image_enemy(self) -> MapImageSight
fn get_image_enemy(self) -> MapImageSight
get_ImageEnemy() overload
Sourcefn get_image_ally(self) -> MapImageSight
fn get_image_ally(self) -> MapImageSight
get_ImageAlly() overload
Sourcefn get_view_image(self) -> MapImageSight
fn get_view_image(self) -> MapImageSight
GetViewImage() overload
Sourcefn is_view_in(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
fn is_view_in(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
IsViewIn(i32, i32) overload
Sourcefn is_view_out(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
fn is_view_out(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
IsViewOut(i32, 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: IMapSight> IMapSightMethods for __T
app-mapsight only.