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§
Sourcefn get_sub_mesh_count(self) -> i32
fn get_sub_mesh_count(self) -> i32
get_SubMeshCount() overload
Sourcefn late_update(self)
fn late_update(self)
LateUpdate() overload
Sourcefn get_source_materials(self) -> Array<Material>
fn get_source_materials(self) -> Array<Material>
GetSourceMaterials() overload
Sourcefn update_danger_units(self)
fn update_danger_units(self)
UpdateDangerUnits() overload
Sourcefn get_target_unit(self) -> Unit
fn get_target_unit(self) -> Unit
GetTargetUnit() overload
Sourcefn is_enemy_attack_range(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool
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
Sourcefn commit_for_attack(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
)
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
Sourcefn commit_for_full_bullet(self)
fn commit_for_full_bullet(self)
CommitForFullBullet() overload
Sourcefn set_mesh_for_general_attack(
self,
dest_pos: impl Into<Vector3>,
uv0: impl Into<Vector2>,
uv2: impl Into<Vector2>,
)
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
Sourcefn set_mesh_for_engage_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>, )
SetMeshForEngageAttack(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2) overload
Sourcefn set_mesh_for_gunner(
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>, )
SetMeshForGunner(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2) overload
Sourcefn set_mesh_for_full_bullet(
self,
uv0: impl Into<Vector2>,
uv2: impl Into<Vector2>,
)
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
Sourcefn is_targeted_for_general_attack(
self,
enemy: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool
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
Sourcefn is_targeted_for_engage_attack(
self,
enemy: impl Into<Unit>,
target: impl Into<Unit>,
) -> bool
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
Sourcefn is_targeted_for_gunner(
self,
enemy: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool
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
Sourcefn get_alpha_curve(self) -> AnimationCurve
fn get_alpha_curve(self) -> AnimationCurve
get_AlphaCurve() overload
Sourcefn get_position_z_offset_for_general(self) -> f32
fn get_position_z_offset_for_general(self) -> f32
get_PositionZOffsetForGeneral() overload
Sourcefn get_position_z_offset_for_horse(self) -> f32
fn get_position_z_offset_for_horse(self) -> f32
get_PositionZOffsetForHorse() overload
Sourcefn get_position_z_offset_for_fly(self) -> f32
fn get_position_z_offset_for_fly(self) -> f32
get_PositionZOffsetForFly() overload
Sourcefn get_position_z_offset_for_bmap_size2(self) -> f32
fn get_position_z_offset_for_bmap_size2(self) -> f32
get_PositionZOffsetForBmapSize2() overload
Sourcefn get_position_z_offset_for_bmap_size3(self) -> f32
fn get_position_z_offset_for_bmap_size3(self) -> f32
get_PositionZOffsetForBmapSize3() overload
Sourcefn get_position_z_offset_for_bmap_size5(self) -> f32
fn get_position_z_offset_for_bmap_size5(self) -> f32
get_PositionZOffsetForBmapSize5() overload
Sourcefn get_arch_height_offset(self) -> f32
fn get_arch_height_offset(self) -> f32
get_ArchHeightOffset() 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: IMapPanelTarget> IMapPanelTargetMethods for __T
root-mappaneltarget only.