Skip to main content

IMapUIGaugeMethods

Trait IMapUIGaugeMethods 

Source
pub trait IMapUIGaugeMethods: IMapUIGauge {
Show 45 methods // Provided methods fn start(self) { ... } fn update(self) { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn register_sprites(self, sprite_atlas: impl Into<SpriteAtlas>) { ... } fn get_sprite(self, index: impl Into<i32>) -> Sprite { ... } fn get_sprite_2(self, name: impl Into<Il2CppString>) -> Sprite { ... } fn get_icon_index( self, name: impl Into<Il2CppString>, ) -> MapUIGauge_IconIndex { ... } fn update_visible(self) { ... } fn is_enable_suppress_flag( self, suppress_flag: impl Into<MapUIGauge_SuppressType>, ) -> bool { ... } fn init_hp_forecast(self, is_all: impl Into<bool>) { ... } fn set_hp_forecast( self, unit: impl Into<Unit>, needs_forecast_oneself: impl Into<bool>, is_prior_weapon_range: impl Into<bool>, ) { ... } fn update_hp_forecast(self) { ... } fn prepare_hp_forecast_target(self) { ... } fn can_use_item_for_heal_forecast( self, item_data: impl Into<ItemData>, ) -> bool { ... } fn get_image(self, performer: impl Into<Unit>) { ... } fn is_unit_target_for_damage_forecast(self, target: impl Into<Unit>) -> bool { ... } fn can_attack( self, attacker: impl Into<Unit>, target: impl Into<Unit>, ) -> bool { ... } fn is_unit_target_for_heal_forecast(self, target: impl Into<Unit>) -> bool { ... } fn is_unit_influencer_for_damage_forecast( self, unit: impl Into<Unit>, ) -> bool { ... } fn is_unit_influencer_for_heal_forecast(self, unit: impl Into<Unit>) -> bool { ... } fn calc_hp_forecast(self) -> IEnumerator { ... } fn get_breath_skill( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> SkillData { ... } fn calc_battle_info_for_breath( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, breath_skill: impl Into<SkillData>, ) { ... } fn calc_battle_info_for_engage_wait(self, target: impl Into<Unit>) { ... } fn calc_battle_info_for_heal_item( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) { ... } fn calc_battle_info_for_normal( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) { ... } fn is_heal_item_used( self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> bool { ... } fn calc_hp_heal_item( self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> (i32, i32) { ... } fn get_battle_info_flag( self, performer: impl Into<Unit>, target: impl Into<Unit>, ) -> BattleInfo_Flags { ... } fn stack_hp_diff( self, hp_before_battle: impl Into<i32>, hp_after_battle: impl Into<i32>, ) { ... } fn get_item(self, target: impl Into<Unit>) -> UnitItem { ... } fn get_sprites(self) -> Array<Sprite> { ... } fn get_time(self) -> f32 { ... } fn get_wait_frame(self) -> f32 { ... } fn get_wait_frame_for_after_event(self) -> f32 { ... } fn get_is_visible(self) -> bool { ... } fn get_suppress_flag(self) -> MapUIGauge_SuppressType { ... } fn set_suppress_flag(self, value: impl Into<MapUIGauge_SuppressType>) { ... } fn get_alpha_curve(self) -> AnimationCurve { ... } fn get_shine_curve(self) -> AnimationCurve { ... } fn get_can_break_curve(self) -> AnimationCurve { ... } fn get_count_max_scale_curve(self) -> AnimationCurve { ... } fn get_count_max_alpha_curve(self) -> AnimationCurve { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn register_sprites(self, sprite_atlas: impl Into<SpriteAtlas>)

RegisterSprites(crate::unity_engine::u2d::spriteatlas::SpriteAtlas) overload

Source

fn get_sprite(self, index: impl Into<i32>) -> Sprite

GetSprite(i32) overload

Source

fn get_sprite_2(self, name: impl Into<Il2CppString>) -> Sprite

GetSprite(::unity::Il2CppString) overload

Source

fn get_icon_index(self, name: impl Into<Il2CppString>) -> MapUIGauge_IconIndex

GetIconIndex(::unity::Il2CppString) overload

Source

fn update_visible(self)

UpdateVisible() overload

Source

fn is_enable_suppress_flag( self, suppress_flag: impl Into<MapUIGauge_SuppressType>, ) -> bool

IsEnableSuppressFlag(crate::root::mapuigauge::MapUIGauge_SuppressType) overload

Source

fn init_hp_forecast(self, is_all: impl Into<bool>)

InitHpForecast(bool) overload

Source

fn set_hp_forecast( self, unit: impl Into<Unit>, needs_forecast_oneself: impl Into<bool>, is_prior_weapon_range: impl Into<bool>, )

SetHpForecast(crate::app::unit::Unit, bool, bool) overload

Source

fn update_hp_forecast(self)

UpdateHpForecast() overload

Source

fn prepare_hp_forecast_target(self)

PrepareHpForecastTarget() overload

Source

fn can_use_item_for_heal_forecast(self, item_data: impl Into<ItemData>) -> bool

CanUseItemForHealForecast(crate::app::itemdata::ItemData) overload

Source

fn get_image(self, performer: impl Into<Unit>)

GetImage(crate::app::unit::Unit) overload

Source

fn is_unit_target_for_damage_forecast(self, target: impl Into<Unit>) -> bool

IsUnitTargetForDamageForecast(crate::app::unit::Unit) overload

Source

fn can_attack(self, attacker: impl Into<Unit>, target: impl Into<Unit>) -> bool

CanAttack(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn is_unit_target_for_heal_forecast(self, target: impl Into<Unit>) -> bool

IsUnitTargetForHealForecast(crate::app::unit::Unit) overload

Source

fn is_unit_influencer_for_damage_forecast(self, unit: impl Into<Unit>) -> bool

IsUnitInfluencerForDamageForecast(crate::app::unit::Unit) overload

Source

fn is_unit_influencer_for_heal_forecast(self, unit: impl Into<Unit>) -> bool

IsUnitInfluencerForHealForecast(crate::app::unit::Unit) overload

Source

fn calc_hp_forecast(self) -> IEnumerator

CalcHpForecast() overload

Source

fn get_breath_skill( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> SkillData

GetBreathSkill(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload

Source

fn calc_battle_info_for_breath( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, breath_skill: impl Into<SkillData>, )

CalcBattleInfoForBreath(crate::app::unit::Unit, crate::app::unititem::UnitItem, crate::app::skilldata::SkillData) overload

Source

fn calc_battle_info_for_engage_wait(self, target: impl Into<Unit>)

CalcBattleInfoForEngageWait(crate::app::unit::Unit) overload

Source

fn calc_battle_info_for_heal_item( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, )

CalcBattleInfoForHealItem(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload

Source

fn calc_battle_info_for_normal( self, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, )

CalcBattleInfoForNormal(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload

Source

fn is_heal_item_used( self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> bool

IsHealItemUsed(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload

Source

fn calc_hp_heal_item( self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> (i32, i32)

CalcHpHealItem(crate::app::unit::Unit, crate::app::unititem::UnitItem, *muti32, *muti32) overload

Source

fn get_battle_info_flag( self, performer: impl Into<Unit>, target: impl Into<Unit>, ) -> BattleInfo_Flags

GetBattleInfoFlag(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn stack_hp_diff( self, hp_before_battle: impl Into<i32>, hp_after_battle: impl Into<i32>, )

StackHpDiff(i32, i32) overload

Source

fn get_item(self, target: impl Into<Unit>) -> UnitItem

GetItem(crate::app::unit::Unit) overload

Source

fn get_sprites(self) -> Array<Sprite>

get_Sprites() overload

Source

fn get_time(self) -> f32

get_Time() overload

Source

fn get_wait_frame(self) -> f32

get_WaitFrame() overload

Source

fn get_wait_frame_for_after_event(self) -> f32

get_WaitFrameForAfterEvent() overload

Source

fn get_is_visible(self) -> bool

get_IsVisible() overload

Source

fn get_suppress_flag(self) -> MapUIGauge_SuppressType

get_SuppressFlag() overload

Source

fn set_suppress_flag(self, value: impl Into<MapUIGauge_SuppressType>)

set_SuppressFlag(crate::root::mapuigauge::MapUIGauge_SuppressType) overload

Source

fn get_alpha_curve(self) -> AnimationCurve

get_AlphaCurve() overload

Source

fn get_shine_curve(self) -> AnimationCurve

get_ShineCurve() overload

Source

fn get_can_break_curve(self) -> AnimationCurve

get_CanBreakCurve() overload

Source

fn get_count_max_scale_curve(self) -> AnimationCurve

get_CountMaxScaleCurve() overload

Source

fn get_count_max_alpha_curve(self) -> AnimationCurve

get_CountMaxAlphaCurve() overload

Source

fn ctor(self)

.ctor() 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: IMapUIGauge> IMapUIGaugeMethods for __T

Available on crate feature root-mapuigauge only.