Skip to main content

IMapPanelTargetMethods

Trait IMapPanelTargetMethods 

Source
pub trait IMapPanelTargetMethods: IMapPanelTarget {
Show 27 methods // Provided methods fn get_sub_mesh_count(self) -> i32 { ... } fn awake(self) { ... } fn start(self) { ... } fn late_update(self) { ... } fn get_source_materials(self) -> Array<Material> { ... } fn update_danger_units(self) { ... } fn get_target_unit(self) -> Unit { ... } fn is_enemy_attack_range( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> bool { ... } fn commit_for_attack( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) { ... } fn commit_for_full_bullet(self) { ... } fn set_mesh(self) { ... } fn set_mesh_for_general_attack( self, dest_pos: impl Into<Vector3>, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, ) { ... } fn set_mesh_for_engage_attack( self, dest_pos: impl Into<Vector3>, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, ) { ... } fn set_mesh_for_gunner( self, dest_pos: impl Into<Vector3>, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, ) { ... } fn set_mesh_for_full_bullet( self, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, ) { ... } fn is_targeted_for_general_attack( self, enemy: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> bool { ... } fn is_targeted_for_engage_attack( self, enemy: impl Into<Unit>, target: impl Into<Unit>, ) -> bool { ... } fn is_targeted_for_gunner( self, enemy: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> bool { ... } fn get_alpha_curve(self) -> AnimationCurve { ... } fn get_position_z_offset_for_general(self) -> f32 { ... } fn get_position_z_offset_for_horse(self) -> f32 { ... } fn get_position_z_offset_for_fly(self) -> f32 { ... } fn get_position_z_offset_for_bmap_size2(self) -> f32 { ... } fn get_position_z_offset_for_bmap_size3(self) -> f32 { ... } fn get_position_z_offset_for_bmap_size5(self) -> f32 { ... } fn get_arch_height_offset(self) -> f32 { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_sub_mesh_count(self) -> i32

get_SubMeshCount() overload

Source

fn awake(self)

Awake() overload

Source

fn start(self)

Start() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn get_source_materials(self) -> Array<Material>

GetSourceMaterials() overload

Source

fn update_danger_units(self)

UpdateDangerUnits() overload

Source

fn get_target_unit(self) -> Unit

GetTargetUnit() overload

Source

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

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

Source

fn commit_for_attack( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, )

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

Source

fn commit_for_full_bullet(self)

CommitForFullBullet() overload

Source

fn set_mesh(self)

SetMesh() overload

Source

fn set_mesh_for_general_attack( self, dest_pos: impl Into<Vector3>, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, )

SetMeshForGeneralAttack(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2) overload

Source

fn set_mesh_for_engage_attack( self, dest_pos: impl Into<Vector3>, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, )

SetMeshForEngageAttack(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2) overload

Source

fn set_mesh_for_gunner( self, dest_pos: impl Into<Vector3>, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, )

SetMeshForGunner(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2) overload

Source

fn set_mesh_for_full_bullet( self, uv0: impl Into<Vector2>, uv2: impl Into<Vector2>, )

SetMeshForFullBullet(crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2) overload

Source

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

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

Source

fn is_targeted_for_engage_attack( self, enemy: impl Into<Unit>, target: impl Into<Unit>, ) -> bool

IsTargetedForEngageAttack(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

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

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

Source

fn get_alpha_curve(self) -> AnimationCurve

get_AlphaCurve() overload

Source

fn get_position_z_offset_for_general(self) -> f32

get_PositionZOffsetForGeneral() overload

Source

fn get_position_z_offset_for_horse(self) -> f32

get_PositionZOffsetForHorse() overload

Source

fn get_position_z_offset_for_fly(self) -> f32

get_PositionZOffsetForFly() overload

Source

fn get_position_z_offset_for_bmap_size2(self) -> f32

get_PositionZOffsetForBmapSize2() overload

Source

fn get_position_z_offset_for_bmap_size3(self) -> f32

get_PositionZOffsetForBmapSize3() overload

Source

fn get_position_z_offset_for_bmap_size5(self) -> f32

get_PositionZOffsetForBmapSize5() overload

Source

fn get_arch_height_offset(self) -> f32

get_ArchHeightOffset() 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: IMapPanelTarget> IMapPanelTargetMethods for __T

Available on crate feature root-mappaneltarget only.