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§
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn register_sprites(self, sprite_atlas: impl Into<SpriteAtlas>)
fn register_sprites(self, sprite_atlas: impl Into<SpriteAtlas>)
RegisterSprites(crate::unity_engine::u2d::spriteatlas::SpriteAtlas) overload
Sourcefn get_sprite(self, index: impl Into<i32>) -> Sprite
fn get_sprite(self, index: impl Into<i32>) -> Sprite
GetSprite(i32) overload
Sourcefn get_sprite_2(self, name: impl Into<Il2CppString>) -> Sprite
fn get_sprite_2(self, name: impl Into<Il2CppString>) -> Sprite
GetSprite(::unity::Il2CppString) overload
Sourcefn get_icon_index(self, name: impl Into<Il2CppString>) -> MapUIGauge_IconIndex
fn get_icon_index(self, name: impl Into<Il2CppString>) -> MapUIGauge_IconIndex
GetIconIndex(::unity::Il2CppString) overload
Sourcefn update_visible(self)
fn update_visible(self)
UpdateVisible() overload
Sourcefn is_enable_suppress_flag(
self,
suppress_flag: impl Into<MapUIGauge_SuppressType>,
) -> bool
fn is_enable_suppress_flag( self, suppress_flag: impl Into<MapUIGauge_SuppressType>, ) -> bool
IsEnableSuppressFlag(crate::root::mapuigauge::MapUIGauge_SuppressType) overload
Sourcefn init_hp_forecast(self, is_all: impl Into<bool>)
fn init_hp_forecast(self, is_all: impl Into<bool>)
InitHpForecast(bool) overload
Sourcefn set_hp_forecast(
self,
unit: impl Into<Unit>,
needs_forecast_oneself: impl Into<bool>,
is_prior_weapon_range: 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>, )
SetHpForecast(crate::app::unit::Unit, bool, bool) overload
Sourcefn update_hp_forecast(self)
fn update_hp_forecast(self)
UpdateHpForecast() overload
Sourcefn prepare_hp_forecast_target(self)
fn prepare_hp_forecast_target(self)
PrepareHpForecastTarget() overload
Sourcefn can_use_item_for_heal_forecast(self, item_data: impl Into<ItemData>) -> bool
fn can_use_item_for_heal_forecast(self, item_data: impl Into<ItemData>) -> bool
CanUseItemForHealForecast(crate::app::itemdata::ItemData) overload
Sourcefn is_unit_target_for_damage_forecast(self, target: impl Into<Unit>) -> bool
fn is_unit_target_for_damage_forecast(self, target: impl Into<Unit>) -> bool
IsUnitTargetForDamageForecast(crate::app::unit::Unit) overload
Sourcefn can_attack(self, attacker: impl Into<Unit>, target: impl Into<Unit>) -> bool
fn can_attack(self, attacker: impl Into<Unit>, target: impl Into<Unit>) -> bool
CanAttack(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn is_unit_target_for_heal_forecast(self, target: impl Into<Unit>) -> bool
fn is_unit_target_for_heal_forecast(self, target: impl Into<Unit>) -> bool
IsUnitTargetForHealForecast(crate::app::unit::Unit) overload
Sourcefn is_unit_influencer_for_damage_forecast(self, unit: impl Into<Unit>) -> bool
fn is_unit_influencer_for_damage_forecast(self, unit: impl Into<Unit>) -> bool
IsUnitInfluencerForDamageForecast(crate::app::unit::Unit) overload
Sourcefn is_unit_influencer_for_heal_forecast(self, unit: impl Into<Unit>) -> bool
fn is_unit_influencer_for_heal_forecast(self, unit: impl Into<Unit>) -> bool
IsUnitInfluencerForHealForecast(crate::app::unit::Unit) overload
Sourcefn calc_hp_forecast(self) -> IEnumerator
fn calc_hp_forecast(self) -> IEnumerator
CalcHpForecast() overload
Sourcefn get_breath_skill(
self,
target: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
) -> SkillData
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
Sourcefn 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_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
Sourcefn calc_battle_info_for_engage_wait(self, target: impl Into<Unit>)
fn calc_battle_info_for_engage_wait(self, target: impl Into<Unit>)
CalcBattleInfoForEngageWait(crate::app::unit::Unit) overload
Sourcefn calc_battle_info_for_heal_item(
self,
target: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
)
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
Sourcefn calc_battle_info_for_normal(
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>, )
CalcBattleInfoForNormal(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcefn is_heal_item_used(
self,
unit: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
) -> bool
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
Sourcefn calc_hp_heal_item(
self,
unit: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
) -> (i32, i32)
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
Sourcefn get_battle_info_flag(
self,
performer: impl Into<Unit>,
target: impl Into<Unit>,
) -> BattleInfo_Flags
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
Sourcefn stack_hp_diff(
self,
hp_before_battle: impl Into<i32>,
hp_after_battle: impl Into<i32>,
)
fn stack_hp_diff( self, hp_before_battle: impl Into<i32>, hp_after_battle: impl Into<i32>, )
StackHpDiff(i32, i32) overload
Sourcefn get_item(self, target: impl Into<Unit>) -> UnitItem
fn get_item(self, target: impl Into<Unit>) -> UnitItem
GetItem(crate::app::unit::Unit) overload
Sourcefn get_sprites(self) -> Array<Sprite>
fn get_sprites(self) -> Array<Sprite>
get_Sprites() overload
Sourcefn get_wait_frame(self) -> f32
fn get_wait_frame(self) -> f32
get_WaitFrame() overload
Sourcefn get_wait_frame_for_after_event(self) -> f32
fn get_wait_frame_for_after_event(self) -> f32
get_WaitFrameForAfterEvent() overload
Sourcefn get_is_visible(self) -> bool
fn get_is_visible(self) -> bool
get_IsVisible() overload
Sourcefn get_suppress_flag(self) -> MapUIGauge_SuppressType
fn get_suppress_flag(self) -> MapUIGauge_SuppressType
get_SuppressFlag() overload
Sourcefn set_suppress_flag(self, value: impl Into<MapUIGauge_SuppressType>)
fn set_suppress_flag(self, value: impl Into<MapUIGauge_SuppressType>)
set_SuppressFlag(crate::root::mapuigauge::MapUIGauge_SuppressType) overload
Sourcefn get_alpha_curve(self) -> AnimationCurve
fn get_alpha_curve(self) -> AnimationCurve
get_AlphaCurve() overload
Sourcefn get_shine_curve(self) -> AnimationCurve
fn get_shine_curve(self) -> AnimationCurve
get_ShineCurve() overload
Sourcefn get_can_break_curve(self) -> AnimationCurve
fn get_can_break_curve(self) -> AnimationCurve
get_CanBreakCurve() overload
Sourcefn get_count_max_scale_curve(self) -> AnimationCurve
fn get_count_max_scale_curve(self) -> AnimationCurve
get_CountMaxScaleCurve() overload
Sourcefn get_count_max_alpha_curve(self) -> AnimationCurve
fn get_count_max_alpha_curve(self) -> AnimationCurve
get_CountMaxAlphaCurve() 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: IMapUIGauge> IMapUIGaugeMethods for __T
root-mapuigauge only.