Skip to main content

ICannonInspectorMethods

Trait ICannonInspectorMethods 

Source
pub trait ICannonInspectorMethods: ICannonInspector {
Show 15 methods // Provided methods fn ctor( self, x: impl Into<i32>, z: impl Into<i32>, max_shells: impl Into<i32>, ) { ... } fn is_eanble(self) -> bool { ... } fn completed(self) { ... } fn get_x(self) -> i32 { ... } fn get_z(self) -> i32 { ... } fn get_max_shells(self) -> i32 { ... } fn set_shells(self, num: impl Into<i32>) { ... } fn get_shells(self) -> i32 { ... } fn decrease_shell(self) { ... } fn get_cannon_skill(self, is_force: impl Into<bool>) -> SkillData { ... } fn is_terrain_flag(self, flags: impl Into<TerrainData_Flags>) -> bool { ... } fn is_bow_cannon(self) -> bool { ... } fn is_magic_cannon(self) -> bool { ... } fn is_fire_cannon(self) -> bool { ... } fn get_terrain(self) -> TerrainData_2 { ... }
}

Provided Methods§

Source

fn ctor(self, x: impl Into<i32>, z: impl Into<i32>, max_shells: impl Into<i32>)

.ctor(i32, i32, i32) overload

Source

fn is_eanble(self) -> bool

IsEanble() overload

Source

fn completed(self)

Completed() overload

Source

fn get_x(self) -> i32

get_X() overload

Source

fn get_z(self) -> i32

get_Z() overload

Source

fn get_max_shells(self) -> i32

GetMaxShells() overload

Source

fn set_shells(self, num: impl Into<i32>)

SetShells(i32) overload

Source

fn get_shells(self) -> i32

GetShells() overload

Source

fn decrease_shell(self)

DecreaseShell() overload

Source

fn get_cannon_skill(self, is_force: impl Into<bool>) -> SkillData

GetCannonSkill(bool) overload

Source

fn is_terrain_flag(self, flags: impl Into<TerrainData_Flags>) -> bool

IsTerrainFlag(crate::app::terraindata_2::TerrainData_Flags) overload

Source

fn is_bow_cannon(self) -> bool

IsBowCannon() overload

Source

fn is_magic_cannon(self) -> bool

IsMagicCannon() overload

Source

fn is_fire_cannon(self) -> bool

IsFireCannon() overload

Source

fn get_terrain(self) -> TerrainData_2

GetTerrain() 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: ICannonInspector> ICannonInspectorMethods for __T

Available on crate feature app-cannoninspector only.