Skip to main content

IFishingBattleRaderMethods

Trait IFishingBattleRaderMethods 

Source
pub trait IFishingBattleRaderMethods: IFishingBattleRader {
Show 34 methods // Provided methods fn get_is_escape(self) -> bool { ... } fn set_is_escape(self, value: impl Into<bool>) { ... } fn get_is_defeat(self) -> bool { ... } fn set_is_defeat(self, value: impl Into<bool>) { ... } fn get_shadow_distance(self) -> f32 { ... } fn set_shadow_distance(self, value: impl Into<f32>) { ... } fn get_shadow_dir(self) -> f32 { ... } fn set_shadow_dir(self, value: impl Into<f32>) { ... } fn get_is_shake(self) -> bool { ... } fn ctor(self) { ... } fn init( self, size_id: impl Into<i32>, shadow_scale: impl Into<f32>, config: impl Into<FishingConfig_Battle>, ) { ... } fn finalize(self) { ... } fn reset_radar(self) { ... } fn tick(self, fish: impl Into<FishingFish>) { ... } fn set_active_danger_line(self, set: impl Into<bool>) { ... } fn update_fish_shadow(self, fish: impl Into<FishingFish>) { ... } fn recovery_lethal(self) { ... } fn damage_shake(self) { ... } fn damage_red(self) { ... } fn get_counter_vec(self) -> Vector2 { ... } fn update_stick_dir(self) { ... } fn set_hp_gauge_width( self, gauge_obj: impl Into<GameObject>, width: impl Into<f32>, ) { ... } fn set_hp_gauge_color( self, gauge_obj: impl Into<GameObject>, set_color: impl Into<Color>, ) { ... } fn first_attack(self, hp_rate: impl Into<f32>) { ... } fn update_hp(self, percent: impl Into<f32>) { ... } fn update_lethal_hp(self, percent: impl Into<f32>) { ... } fn set_lethal(self, set: impl Into<bool>) { ... } fn set_active_area(self, set: impl Into<bool>) { ... } fn set_stick_obj(self, obj: impl Into<GameObject>) { ... } fn set_active_stick(self, set: impl Into<bool>) { ... } fn is_active_stick(self) -> bool { ... } fn set_button_obj(self, obj: impl Into<GameObject>) { ... } fn set_active_button(self, set: impl Into<bool>) { ... } fn is_active_button(self) -> bool { ... }
}

Provided Methods§

Source

fn get_is_escape(self) -> bool

get_IsEscape() overload

Source

fn set_is_escape(self, value: impl Into<bool>)

set_IsEscape(bool) overload

Source

fn get_is_defeat(self) -> bool

get_IsDefeat() overload

Source

fn set_is_defeat(self, value: impl Into<bool>)

set_IsDefeat(bool) overload

Source

fn get_shadow_distance(self) -> f32

get_ShadowDistance() overload

Source

fn set_shadow_distance(self, value: impl Into<f32>)

set_ShadowDistance(f32) overload

Source

fn get_shadow_dir(self) -> f32

get_ShadowDir() overload

Source

fn set_shadow_dir(self, value: impl Into<f32>)

set_ShadowDir(f32) overload

Source

fn get_is_shake(self) -> bool

get_IsShake() overload

Source

fn ctor(self)

.ctor() overload

Source

fn init( self, size_id: impl Into<i32>, shadow_scale: impl Into<f32>, config: impl Into<FishingConfig_Battle>, )

Init(i32, f32, crate::app::fishingconfig_battle::FishingConfig_Battle) overload

Source

fn finalize(self)

Finalize() overload

Source

fn reset_radar(self)

ResetRadar() overload

Source

fn tick(self, fish: impl Into<FishingFish>)

Tick(crate::app::fishingfish::FishingFish) overload

Source

fn set_active_danger_line(self, set: impl Into<bool>)

SetActiveDangerLine(bool) overload

Source

fn update_fish_shadow(self, fish: impl Into<FishingFish>)

UpdateFishShadow(crate::app::fishingfish::FishingFish) overload

Source

fn recovery_lethal(self)

RecoveryLethal() overload

Source

fn damage_shake(self)

DamageShake() overload

Source

fn damage_red(self)

DamageRed() overload

Source

fn get_counter_vec(self) -> Vector2

GetCounterVec() overload

Source

fn update_stick_dir(self)

UpdateStickDir() overload

Source

fn set_hp_gauge_width( self, gauge_obj: impl Into<GameObject>, width: impl Into<f32>, )

SetHPGaugeWidth(crate::unity_engine::gameobject::GameObject, f32) overload

Source

fn set_hp_gauge_color( self, gauge_obj: impl Into<GameObject>, set_color: impl Into<Color>, )

SetHPGaugeColor(crate::unity_engine::gameobject::GameObject, crate::unity_engine::color::Color) overload

Source

fn first_attack(self, hp_rate: impl Into<f32>)

FirstAttack(f32) overload

Source

fn update_hp(self, percent: impl Into<f32>)

UpdateHP(f32) overload

Source

fn update_lethal_hp(self, percent: impl Into<f32>)

UpdateLethalHP(f32) overload

Source

fn set_lethal(self, set: impl Into<bool>)

SetLethal(bool) overload

Source

fn set_active_area(self, set: impl Into<bool>)

SetActiveArea(bool) overload

Source

fn set_stick_obj(self, obj: impl Into<GameObject>)

SetStickObj(crate::unity_engine::gameobject::GameObject) overload

Source

fn set_active_stick(self, set: impl Into<bool>)

SetActiveStick(bool) overload

Source

fn is_active_stick(self) -> bool

IsActiveStick() overload

Source

fn set_button_obj(self, obj: impl Into<GameObject>)

SetButtonObj(crate::unity_engine::gameobject::GameObject) overload

Source

fn set_active_button(self, set: impl Into<bool>)

SetActiveButton(bool) overload

Source

fn is_active_button(self) -> bool

IsActiveButton() 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: IFishingBattleRader> IFishingBattleRaderMethods for __T

Available on crate feature app-fishingbattlerader only.