pub trait ITerrainData_2Methods: ITerrainData_2 {
Show 116 methods
// Provided methods
fn get_tid(self) -> Il2CppString { ... }
fn set_tid(self, value: impl Into<Il2CppString>) { ... }
fn get_name(self) -> Il2CppString { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn get_cost_name(self) -> Il2CppString { ... }
fn set_cost_name(self, value: impl Into<Il2CppString>) { ... }
fn get_cost_type(self) -> i32 { ... }
fn set_cost_type(self, value: impl Into<i32>) { ... }
fn get_layer(self) -> TerrainData_Layers { ... }
fn set_layer(self, value: impl Into<TerrainData_Layers>) { ... }
fn get_prohibition(self) -> TerrainData_Prohibitions { ... }
fn set_prohibition(self, value: impl Into<TerrainData_Prohibitions>) { ... }
fn get_command(self) -> TerrainData_Commands { ... }
fn set_command(self, value: impl Into<TerrainData_Commands>) { ... }
fn get_sight(self) -> u8 { ... }
fn set_sight(self, value: impl Into<u8>) { ... }
fn get_destroyer(self) -> TerrainData_Destroyers { ... }
fn set_destroyer(self, value: impl Into<TerrainData_Destroyers>) { ... }
fn get_hp_n(self) -> i32 { ... }
fn set_hp_n(self, value: impl Into<i32>) { ... }
fn get_hp_h(self) -> i32 { ... }
fn set_hp_h(self, value: impl Into<i32>) { ... }
fn get_hp_l(self) -> i32 { ... }
fn set_hp_l(self, value: impl Into<i32>) { ... }
fn get_defense(self) -> i8 { ... }
fn set_defense(self, value: impl Into<i8>) { ... }
fn get_avoid(self) -> i8 { ... }
fn set_avoid(self, value: impl Into<i8>) { ... }
fn get_player_defense(self) -> i8 { ... }
fn set_player_defense(self, value: impl Into<i8>) { ... }
fn get_enemy_defense(self) -> i8 { ... }
fn set_enemy_defense(self, value: impl Into<i8>) { ... }
fn get_player_avoid(self) -> i8 { ... }
fn set_player_avoid(self, value: impl Into<i8>) { ... }
fn get_enemy_avoid(self) -> i8 { ... }
fn set_enemy_avoid(self, value: impl Into<i8>) { ... }
fn get_heal(self) -> i8 { ... }
fn set_heal(self, value: impl Into<i8>) { ... }
fn get_life(self) -> u8 { ... }
fn set_life(self, value: impl Into<u8>) { ... }
fn get_move_cost(self) -> u8 { ... }
fn set_move_cost(self, value: impl Into<u8>) { ... }
fn get_fly_cost(self) -> u8 { ... }
fn set_fly_cost(self, value: impl Into<u8>) { ... }
fn get_move_first(self) -> i8 { ... }
fn set_move_first(self, value: impl Into<i8>) { ... }
fn get_offset(self) -> f32 { ... }
fn set_offset(self, value: impl Into<f32>) { ... }
fn get_color_r(self) -> u8 { ... }
fn set_color_r(self, value: impl Into<u8>) { ... }
fn get_color_g(self) -> u8 { ... }
fn set_color_g(self, value: impl Into<u8>) { ... }
fn get_color_b(self) -> u8 { ... }
fn set_color_b(self, value: impl Into<u8>) { ... }
fn get_color(self) -> Color { ... }
fn set_color(self, value: impl Into<Color>) { ... }
fn get_change_tid(self) -> Il2CppString { ... }
fn set_change_tid(self, value: impl Into<Il2CppString>) { ... }
fn get_change_encount(self) -> Il2CppString { ... }
fn set_change_encount(self, value: impl Into<Il2CppString>) { ... }
fn get_height(self) -> f32 { ... }
fn set_height(self, value: impl Into<f32>) { ... }
fn get_put_effect(self) -> Il2CppString { ... }
fn set_put_effect(self, value: impl Into<Il2CppString>) { ... }
fn get_minimap(self) -> Il2CppString { ... }
fn set_minimap(self, value: impl Into<Il2CppString>) { ... }
fn get_cannon_skill(self) -> Il2CppString { ... }
fn set_cannon_skill(self, value: impl Into<Il2CppString>) { ... }
fn get_cannon_shells_n(self) -> u8 { ... }
fn set_cannon_shells_n(self, value: impl Into<u8>) { ... }
fn get_cannon_shells_h(self) -> u8 { ... }
fn set_cannon_shells_h(self, value: impl Into<u8>) { ... }
fn get_cannon_shells_l(self) -> u8 { ... }
fn set_cannon_shells_l(self, value: impl Into<u8>) { ... }
fn get_flag(self) -> TerrainData_Flags { ... }
fn set_flag(self, value: impl Into<TerrainData_Flags>) { ... }
fn get_put_allow(self) -> u8 { ... }
fn set_put_allow(self, value: impl Into<u8>) { ... }
fn get_ascii_name(self) -> Il2CppString { ... }
fn set_ascii_name(self, value: impl Into<Il2CppString>) { ... }
fn is_door(self) -> bool { ... }
fn is_treasure(self) -> bool { ... }
fn is_visit(self) -> bool { ... }
fn is_bow_cannon(self) -> bool { ... }
fn is_magic_cannon(self) -> bool { ... }
fn is_fire_cannon(self) -> bool { ... }
fn is_not_shadow(self) -> bool { ... }
fn is_foot_smoke(self) -> bool { ... }
fn is_footprint(self) -> bool { ... }
fn is_roof(self) -> bool { ... }
fn is_sight_masking(self) -> bool { ... }
fn is_torch(self) -> bool { ... }
fn is_cannon(self) -> bool { ... }
fn is_not_stun(self) -> bool { ... }
fn is_not_engage_add(self) -> bool { ... }
fn is_fly_enable(self) -> bool { ... }
fn is_help_spot(self) -> bool { ... }
fn is_engage_heal(self) -> bool { ... }
fn is_not_target(self) -> bool { ... }
fn is_not_warp(self) -> bool { ... }
fn is_hide_break_icon(self) -> bool { ... }
fn is_show_phase_icon(self) -> bool { ... }
fn is_immobile(self) -> bool { ... }
fn is_damage_half_display(self) -> bool { ... }
fn is_flight_only(self) -> bool { ... }
fn is_breakable(self) -> bool { ... }
fn can_put_allow(self, cost_type: impl Into<i32>) -> bool { ... }
fn can_put_allow_2(self) -> bool { ... }
fn can_breakable(self, force: impl Into<Force_Type>) -> bool { ... }
fn get_hp(self) -> i32 { ... }
fn can_unit_command(self, unit: impl Into<Unit>) -> bool { ... }
fn get_cannon_shells(self) -> i32 { ... }
fn on_build(self) { ... }
fn on_completed(self) { ... }
fn get_debug_name(self) -> Il2CppString { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_tid(self) -> Il2CppString
fn get_tid(self) -> Il2CppString
get_Tid() overload
Sourcefn set_tid(self, value: impl Into<Il2CppString>)
fn set_tid(self, value: impl Into<Il2CppString>)
set_Tid(::unity::Il2CppString) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_cost_name(self) -> Il2CppString
fn get_cost_name(self) -> Il2CppString
get_CostName() overload
Sourcefn set_cost_name(self, value: impl Into<Il2CppString>)
fn set_cost_name(self, value: impl Into<Il2CppString>)
set_CostName(::unity::Il2CppString) overload
Sourcefn get_cost_type(self) -> i32
fn get_cost_type(self) -> i32
get_CostType() overload
Sourcefn set_cost_type(self, value: impl Into<i32>)
fn set_cost_type(self, value: impl Into<i32>)
set_CostType(i32) overload
Sourcefn get_layer(self) -> TerrainData_Layers
fn get_layer(self) -> TerrainData_Layers
get_Layer() overload
Sourcefn set_layer(self, value: impl Into<TerrainData_Layers>)
fn set_layer(self, value: impl Into<TerrainData_Layers>)
set_Layer(crate::app::terraindata_2::TerrainData_Layers) overload
Sourcefn get_prohibition(self) -> TerrainData_Prohibitions
fn get_prohibition(self) -> TerrainData_Prohibitions
get_Prohibition() overload
Sourcefn set_prohibition(self, value: impl Into<TerrainData_Prohibitions>)
fn set_prohibition(self, value: impl Into<TerrainData_Prohibitions>)
set_Prohibition(crate::app::terraindata_2::TerrainData_Prohibitions) overload
Sourcefn get_command(self) -> TerrainData_Commands
fn get_command(self) -> TerrainData_Commands
get_Command() overload
Sourcefn set_command(self, value: impl Into<TerrainData_Commands>)
fn set_command(self, value: impl Into<TerrainData_Commands>)
set_Command(crate::app::terraindata_2::TerrainData_Commands) overload
Sourcefn get_destroyer(self) -> TerrainData_Destroyers
fn get_destroyer(self) -> TerrainData_Destroyers
get_Destroyer() overload
Sourcefn set_destroyer(self, value: impl Into<TerrainData_Destroyers>)
fn set_destroyer(self, value: impl Into<TerrainData_Destroyers>)
set_Destroyer(crate::app::terraindata_2::TerrainData_Destroyers) overload
Sourcefn get_defense(self) -> i8
fn get_defense(self) -> i8
get_Defense() overload
Sourcefn set_defense(self, value: impl Into<i8>)
fn set_defense(self, value: impl Into<i8>)
set_Defense(i8) overload
Sourcefn get_player_defense(self) -> i8
fn get_player_defense(self) -> i8
get_PlayerDefense() overload
Sourcefn set_player_defense(self, value: impl Into<i8>)
fn set_player_defense(self, value: impl Into<i8>)
set_PlayerDefense(i8) overload
Sourcefn get_enemy_defense(self) -> i8
fn get_enemy_defense(self) -> i8
get_EnemyDefense() overload
Sourcefn set_enemy_defense(self, value: impl Into<i8>)
fn set_enemy_defense(self, value: impl Into<i8>)
set_EnemyDefense(i8) overload
Sourcefn get_player_avoid(self) -> i8
fn get_player_avoid(self) -> i8
get_PlayerAvoid() overload
Sourcefn set_player_avoid(self, value: impl Into<i8>)
fn set_player_avoid(self, value: impl Into<i8>)
set_PlayerAvoid(i8) overload
Sourcefn get_enemy_avoid(self) -> i8
fn get_enemy_avoid(self) -> i8
get_EnemyAvoid() overload
Sourcefn set_enemy_avoid(self, value: impl Into<i8>)
fn set_enemy_avoid(self, value: impl Into<i8>)
set_EnemyAvoid(i8) overload
Sourcefn get_move_cost(self) -> u8
fn get_move_cost(self) -> u8
get_MoveCost() overload
Sourcefn set_move_cost(self, value: impl Into<u8>)
fn set_move_cost(self, value: impl Into<u8>)
set_MoveCost(u8) overload
Sourcefn get_fly_cost(self) -> u8
fn get_fly_cost(self) -> u8
get_FlyCost() overload
Sourcefn set_fly_cost(self, value: impl Into<u8>)
fn set_fly_cost(self, value: impl Into<u8>)
set_FlyCost(u8) overload
Sourcefn get_move_first(self) -> i8
fn get_move_first(self) -> i8
get_MoveFirst() overload
Sourcefn set_move_first(self, value: impl Into<i8>)
fn set_move_first(self, value: impl Into<i8>)
set_MoveFirst(i8) overload
Sourcefn get_offset(self) -> f32
fn get_offset(self) -> f32
get_Offset() overload
Sourcefn set_offset(self, value: impl Into<f32>)
fn set_offset(self, value: impl Into<f32>)
set_Offset(f32) overload
Sourcefn get_color_r(self) -> u8
fn get_color_r(self) -> u8
get_ColorR() overload
Sourcefn set_color_r(self, value: impl Into<u8>)
fn set_color_r(self, value: impl Into<u8>)
set_ColorR(u8) overload
Sourcefn get_color_g(self) -> u8
fn get_color_g(self) -> u8
get_ColorG() overload
Sourcefn set_color_g(self, value: impl Into<u8>)
fn set_color_g(self, value: impl Into<u8>)
set_ColorG(u8) overload
Sourcefn get_color_b(self) -> u8
fn get_color_b(self) -> u8
get_ColorB() overload
Sourcefn set_color_b(self, value: impl Into<u8>)
fn set_color_b(self, value: impl Into<u8>)
set_ColorB(u8) overload
Sourcefn set_color(self, value: impl Into<Color>)
fn set_color(self, value: impl Into<Color>)
set_Color(crate::unity_engine::color::Color) overload
Sourcefn get_change_tid(self) -> Il2CppString
fn get_change_tid(self) -> Il2CppString
get_ChangeTid() overload
Sourcefn set_change_tid(self, value: impl Into<Il2CppString>)
fn set_change_tid(self, value: impl Into<Il2CppString>)
set_ChangeTid(::unity::Il2CppString) overload
Sourcefn get_change_encount(self) -> Il2CppString
fn get_change_encount(self) -> Il2CppString
get_ChangeEncount() overload
Sourcefn set_change_encount(self, value: impl Into<Il2CppString>)
fn set_change_encount(self, value: impl Into<Il2CppString>)
set_ChangeEncount(::unity::Il2CppString) overload
Sourcefn get_height(self) -> f32
fn get_height(self) -> f32
get_Height() overload
Sourcefn set_height(self, value: impl Into<f32>)
fn set_height(self, value: impl Into<f32>)
set_Height(f32) overload
Sourcefn get_put_effect(self) -> Il2CppString
fn get_put_effect(self) -> Il2CppString
get_PutEffect() overload
Sourcefn set_put_effect(self, value: impl Into<Il2CppString>)
fn set_put_effect(self, value: impl Into<Il2CppString>)
set_PutEffect(::unity::Il2CppString) overload
Sourcefn get_minimap(self) -> Il2CppString
fn get_minimap(self) -> Il2CppString
get_Minimap() overload
Sourcefn set_minimap(self, value: impl Into<Il2CppString>)
fn set_minimap(self, value: impl Into<Il2CppString>)
set_Minimap(::unity::Il2CppString) overload
Sourcefn get_cannon_skill(self) -> Il2CppString
fn get_cannon_skill(self) -> Il2CppString
get_CannonSkill() overload
Sourcefn set_cannon_skill(self, value: impl Into<Il2CppString>)
fn set_cannon_skill(self, value: impl Into<Il2CppString>)
set_CannonSkill(::unity::Il2CppString) overload
Sourcefn get_cannon_shells_n(self) -> u8
fn get_cannon_shells_n(self) -> u8
get_CannonShellsN() overload
Sourcefn set_cannon_shells_n(self, value: impl Into<u8>)
fn set_cannon_shells_n(self, value: impl Into<u8>)
set_CannonShellsN(u8) overload
Sourcefn get_cannon_shells_h(self) -> u8
fn get_cannon_shells_h(self) -> u8
get_CannonShellsH() overload
Sourcefn set_cannon_shells_h(self, value: impl Into<u8>)
fn set_cannon_shells_h(self, value: impl Into<u8>)
set_CannonShellsH(u8) overload
Sourcefn get_cannon_shells_l(self) -> u8
fn get_cannon_shells_l(self) -> u8
get_CannonShellsL() overload
Sourcefn set_cannon_shells_l(self, value: impl Into<u8>)
fn set_cannon_shells_l(self, value: impl Into<u8>)
set_CannonShellsL(u8) overload
Sourcefn get_flag(self) -> TerrainData_Flags
fn get_flag(self) -> TerrainData_Flags
get_Flag() overload
Sourcefn set_flag(self, value: impl Into<TerrainData_Flags>)
fn set_flag(self, value: impl Into<TerrainData_Flags>)
set_Flag(crate::app::terraindata_2::TerrainData_Flags) overload
Sourcefn get_put_allow(self) -> u8
fn get_put_allow(self) -> u8
get_PutAllow() overload
Sourcefn set_put_allow(self, value: impl Into<u8>)
fn set_put_allow(self, value: impl Into<u8>)
set_PutAllow(u8) overload
Sourcefn get_ascii_name(self) -> Il2CppString
fn get_ascii_name(self) -> Il2CppString
get_AsciiName() overload
Sourcefn set_ascii_name(self, value: impl Into<Il2CppString>)
fn set_ascii_name(self, value: impl Into<Il2CppString>)
set_AsciiName(::unity::Il2CppString) overload
Sourcefn is_treasure(self) -> bool
fn is_treasure(self) -> bool
IsTreasure() 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 is_not_shadow(self) -> bool
fn is_not_shadow(self) -> bool
IsNotShadow() overload
Sourcefn is_foot_smoke(self) -> bool
fn is_foot_smoke(self) -> bool
IsFootSmoke() overload
Sourcefn is_footprint(self) -> bool
fn is_footprint(self) -> bool
IsFootprint() overload
Sourcefn is_sight_masking(self) -> bool
fn is_sight_masking(self) -> bool
IsSightMasking() overload
Sourcefn is_not_stun(self) -> bool
fn is_not_stun(self) -> bool
IsNotStun() overload
Sourcefn is_not_engage_add(self) -> bool
fn is_not_engage_add(self) -> bool
IsNotEngageAdd() overload
Sourcefn is_fly_enable(self) -> bool
fn is_fly_enable(self) -> bool
IsFlyEnable() overload
Sourcefn is_help_spot(self) -> bool
fn is_help_spot(self) -> bool
IsHelpSpot() overload
Sourcefn is_engage_heal(self) -> bool
fn is_engage_heal(self) -> bool
IsEngageHeal() overload
Sourcefn is_not_target(self) -> bool
fn is_not_target(self) -> bool
IsNotTarget() overload
Sourcefn is_not_warp(self) -> bool
fn is_not_warp(self) -> bool
IsNotWarp() overload
Sourcefn is_hide_break_icon(self) -> bool
fn is_hide_break_icon(self) -> bool
IsHideBreakIcon() overload
Sourcefn is_show_phase_icon(self) -> bool
fn is_show_phase_icon(self) -> bool
IsShowPhaseIcon() overload
Sourcefn is_immobile(self) -> bool
fn is_immobile(self) -> bool
IsImmobile() overload
Sourcefn is_damage_half_display(self) -> bool
fn is_damage_half_display(self) -> bool
IsDamageHalfDisplay() overload
Sourcefn is_flight_only(self) -> bool
fn is_flight_only(self) -> bool
IsFlightOnly() overload
Sourcefn is_breakable(self) -> bool
fn is_breakable(self) -> bool
IsBreakable() overload
Sourcefn can_put_allow(self, cost_type: impl Into<i32>) -> bool
fn can_put_allow(self, cost_type: impl Into<i32>) -> bool
CanPutAllow(i32) overload
Sourcefn can_put_allow_2(self) -> bool
fn can_put_allow_2(self) -> bool
CanPutAllow() overload
Sourcefn can_breakable(self, force: impl Into<Force_Type>) -> bool
fn can_breakable(self, force: impl Into<Force_Type>) -> bool
CanBreakable(crate::app::force::Force_Type) overload
Sourcefn can_unit_command(self, unit: impl Into<Unit>) -> bool
fn can_unit_command(self, unit: impl Into<Unit>) -> bool
CanUnitCommand(crate::app::unit::Unit) overload
Sourcefn get_cannon_shells(self) -> i32
fn get_cannon_shells(self) -> i32
GetCannonShells() overload
Sourcefn on_completed(self)
fn on_completed(self)
OnCompleted() overload
Sourcefn get_debug_name(self) -> Il2CppString
fn get_debug_name(self) -> Il2CppString
GetDebugName() 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: ITerrainData_2> ITerrainData_2Methods for __T
app-terraindata_2 only.