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§
Sourcefn get_is_escape(self) -> bool
fn get_is_escape(self) -> bool
get_IsEscape() overload
Sourcefn set_is_escape(self, value: impl Into<bool>)
fn set_is_escape(self, value: impl Into<bool>)
set_IsEscape(bool) overload
Sourcefn get_is_defeat(self) -> bool
fn get_is_defeat(self) -> bool
get_IsDefeat() overload
Sourcefn set_is_defeat(self, value: impl Into<bool>)
fn set_is_defeat(self, value: impl Into<bool>)
set_IsDefeat(bool) overload
Sourcefn get_shadow_distance(self) -> f32
fn get_shadow_distance(self) -> f32
get_ShadowDistance() overload
Sourcefn set_shadow_distance(self, value: impl Into<f32>)
fn set_shadow_distance(self, value: impl Into<f32>)
set_ShadowDistance(f32) overload
Sourcefn get_shadow_dir(self) -> f32
fn get_shadow_dir(self) -> f32
get_ShadowDir() overload
Sourcefn set_shadow_dir(self, value: impl Into<f32>)
fn set_shadow_dir(self, value: impl Into<f32>)
set_ShadowDir(f32) overload
Sourcefn get_is_shake(self) -> bool
fn get_is_shake(self) -> bool
get_IsShake() overload
Sourcefn init(
self,
size_id: impl Into<i32>,
shadow_scale: impl Into<f32>,
config: impl Into<FishingConfig_Battle>,
)
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
Sourcefn reset_radar(self)
fn reset_radar(self)
ResetRadar() overload
Sourcefn tick(self, fish: impl Into<FishingFish>)
fn tick(self, fish: impl Into<FishingFish>)
Tick(crate::app::fishingfish::FishingFish) overload
Sourcefn set_active_danger_line(self, set: impl Into<bool>)
fn set_active_danger_line(self, set: impl Into<bool>)
SetActiveDangerLine(bool) overload
Sourcefn update_fish_shadow(self, fish: impl Into<FishingFish>)
fn update_fish_shadow(self, fish: impl Into<FishingFish>)
UpdateFishShadow(crate::app::fishingfish::FishingFish) overload
Sourcefn recovery_lethal(self)
fn recovery_lethal(self)
RecoveryLethal() overload
Sourcefn damage_shake(self)
fn damage_shake(self)
DamageShake() overload
Sourcefn damage_red(self)
fn damage_red(self)
DamageRed() overload
Sourcefn get_counter_vec(self) -> Vector2
fn get_counter_vec(self) -> Vector2
GetCounterVec() overload
Sourcefn update_stick_dir(self)
fn update_stick_dir(self)
UpdateStickDir() overload
Sourcefn set_hp_gauge_width(
self,
gauge_obj: impl Into<GameObject>,
width: impl Into<f32>,
)
fn set_hp_gauge_width( self, gauge_obj: impl Into<GameObject>, width: impl Into<f32>, )
SetHPGaugeWidth(crate::unity_engine::gameobject::GameObject, f32) overload
Sourcefn set_hp_gauge_color(
self,
gauge_obj: impl Into<GameObject>,
set_color: impl Into<Color>,
)
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
Sourcefn first_attack(self, hp_rate: impl Into<f32>)
fn first_attack(self, hp_rate: impl Into<f32>)
FirstAttack(f32) overload
Sourcefn update_lethal_hp(self, percent: impl Into<f32>)
fn update_lethal_hp(self, percent: impl Into<f32>)
UpdateLethalHP(f32) overload
Sourcefn set_lethal(self, set: impl Into<bool>)
fn set_lethal(self, set: impl Into<bool>)
SetLethal(bool) overload
Sourcefn set_active_area(self, set: impl Into<bool>)
fn set_active_area(self, set: impl Into<bool>)
SetActiveArea(bool) overload
Sourcefn set_stick_obj(self, obj: impl Into<GameObject>)
fn set_stick_obj(self, obj: impl Into<GameObject>)
SetStickObj(crate::unity_engine::gameobject::GameObject) overload
Sourcefn set_active_stick(self, set: impl Into<bool>)
fn set_active_stick(self, set: impl Into<bool>)
SetActiveStick(bool) overload
Sourcefn is_active_stick(self) -> bool
fn is_active_stick(self) -> bool
IsActiveStick() overload
SetButtonObj(crate::unity_engine::gameobject::GameObject) overload
SetActiveButton(bool) overload
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§
impl<__T: IFishingBattleRader> IFishingBattleRaderMethods for __T
app-fishingbattlerader only.