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§
Sourcefn ctor(self, x: impl Into<i32>, z: impl Into<i32>, max_shells: impl Into<i32>)
fn ctor(self, x: impl Into<i32>, z: impl Into<i32>, max_shells: impl Into<i32>)
.ctor(i32, i32, i32) overload
Sourcefn get_max_shells(self) -> i32
fn get_max_shells(self) -> i32
GetMaxShells() overload
Sourcefn set_shells(self, num: impl Into<i32>)
fn set_shells(self, num: impl Into<i32>)
SetShells(i32) overload
Sourcefn get_shells(self) -> i32
fn get_shells(self) -> i32
GetShells() overload
Sourcefn decrease_shell(self)
fn decrease_shell(self)
DecreaseShell() overload
Sourcefn get_cannon_skill(self, is_force: impl Into<bool>) -> SkillData
fn get_cannon_skill(self, is_force: impl Into<bool>) -> SkillData
GetCannonSkill(bool) overload
Sourcefn is_terrain_flag(self, flags: impl Into<TerrainData_Flags>) -> bool
fn is_terrain_flag(self, flags: impl Into<TerrainData_Flags>) -> bool
IsTerrainFlag(crate::app::terraindata_2::TerrainData_Flags) overload
Sourcefn is_bow_cannon(self) -> bool
fn is_bow_cannon(self) -> bool
IsBowCannon() overload
Sourcefn is_magic_cannon(self) -> bool
fn is_magic_cannon(self) -> bool
IsMagicCannon() overload
Sourcefn is_fire_cannon(self) -> bool
fn is_fire_cannon(self) -> bool
IsFireCannon() overload
Sourcefn get_terrain(self) -> TerrainData_2
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§
impl<__T: ICannonInspector> ICannonInspectorMethods for __T
Available on crate feature
app-cannoninspector only.