Skip to main content

IMapSightMethods

Trait IMapSightMethods 

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

Source

fn get_is_usable(self) -> bool

get_IsUsable() overload

Source

fn set_is_usable(self, value: impl Into<bool>)

set_IsUsable(bool) overload

Source

fn ctor(self)

.ctor() overload

Source

fn setup(self, chapter: impl Into<ChapterData>)

Setup(crate::app::chapterdata::ChapterData) overload

Source

fn update(self, unit: impl Into<Unit>)

Update(crate::app::unit::Unit) overload

Source

fn update_2(self, force_type: impl Into<Force_Type>)

Update(crate::app::force::Force_Type) overload

Source

fn update_all(self)

UpdateAll() overload

Source

fn update_projection(self)

UpdateProjection() overload

Source

fn update_unit(self)

UpdateUnit() overload

Source

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

IsIn(i32, i32) overload

Source

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

Source

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

IsOut(i32, i32) overload

Source

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

Source

fn get_sight_image(self, unit: impl Into<Unit>) -> MapImageSight

GetSightImage(crate::app::unit::Unit) overload

Source

fn get_sight_image_2(self, force_type: impl Into<Force_Type>) -> MapImageSight

GetSightImage(crate::app::force::Force_Type) 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_image_player(self) -> MapImageSight

get_ImagePlayer() overload

Source

fn get_image_enemy(self) -> MapImageSight

get_ImageEnemy() overload

Source

fn get_image_ally(self) -> MapImageSight

get_ImageAlly() overload

Source

fn get_view_image(self) -> MapImageSight

GetViewImage() overload

Source

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

IsViewIn(i32, i32) overload

Source

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§

Source§

impl<__T: IMapSight> IMapSightMethods for __T

Available on crate feature app-mapsight only.