Skip to main content

IMapInfoRootMethods

Trait IMapInfoRootMethods 

Source
pub trait IMapInfoRootMethods: IMapInfoRoot {
Show 32 methods // Provided methods fn start(self) { ... } fn init(self, unit: impl Into<Unit>) { ... } fn tick(self, unit: impl Into<Unit>) { ... } fn update_position(self, unit: impl Into<Unit>) { ... } fn update_canvas(self, unit: impl Into<Unit>) { ... } fn update_param(self, unit: impl Into<Unit>) { ... } fn update_alpha(self, unit: impl Into<Unit>) { ... } fn update_sort_order(self, unit: impl Into<Unit>) { ... } fn force_update(self) { ... } fn set_active(self, enable: impl Into<bool>) { ... } fn play_engage_effect(self, unit: impl Into<Unit>, count: impl Into<i32>) { ... } fn play_engage_turn_recovery_effect(self) { ... } fn is_playing_engage_turn_recovery_effect(self) -> bool { ... } fn get_engage_turn_recovery_effect_rate(self) -> f32 { ... } fn set_suppress_hp_stock(self, enable: impl Into<bool>) { ... } fn play_hp_stock_effect(self, unit: impl Into<Unit>) { ... } fn play_hp_stock_create_effect(self, unit: impl Into<Unit>) { ... } fn set_hp_stock_alpha(self, stock: impl Into<i32>, alpha: impl Into<f32>) { ... } fn is_playing_hp_stock_effect(self) -> bool { ... } fn get_hp_stock_effect_rate(self) -> f32 { ... } fn set_unit_screen_pos_local_scale(self, pos: impl Into<Vector3>) { ... } fn set_screen_half_size(self, screen_half: impl Into<Vector2>) { ... } fn init_hp_forecast(self) { ... } fn set_hp_forecast(self, before: impl Into<i32>, after: impl Into<i32>) { ... } fn init_break(self) { ... } fn set_break(self, is_break: impl Into<bool>) { ... } fn is_canvas_visibility_changed(self) -> bool { ... } fn is_next_canvas_visibility_enable(self) -> bool { ... } fn is_next_canvas_visibility_disable(self) -> bool { ... } fn canvas_visibility_change(self) { ... } fn set_info_enable(self, enable: impl Into<bool>) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn init(self, unit: impl Into<Unit>)

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

Source

fn tick(self, unit: impl Into<Unit>)

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

Source

fn update_position(self, unit: impl Into<Unit>)

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

Source

fn update_canvas(self, unit: impl Into<Unit>)

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

Source

fn update_param(self, unit: impl Into<Unit>)

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

Source

fn update_alpha(self, unit: impl Into<Unit>)

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

Source

fn update_sort_order(self, unit: impl Into<Unit>)

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

Source

fn force_update(self)

ForceUpdate() overload

Source

fn set_active(self, enable: impl Into<bool>)

SetActive(bool) overload

Source

fn play_engage_effect(self, unit: impl Into<Unit>, count: impl Into<i32>)

PlayEngageEffect(crate::app::unit::Unit, i32) overload

Source

fn play_engage_turn_recovery_effect(self)

PlayEngageTurnRecoveryEffect() overload

Source

fn is_playing_engage_turn_recovery_effect(self) -> bool

IsPlayingEngageTurnRecoveryEffect() overload

Source

fn get_engage_turn_recovery_effect_rate(self) -> f32

GetEngageTurnRecoveryEffectRate() overload

Source

fn set_suppress_hp_stock(self, enable: impl Into<bool>)

SetSuppressHpStock(bool) overload

Source

fn play_hp_stock_effect(self, unit: impl Into<Unit>)

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

Source

fn play_hp_stock_create_effect(self, unit: impl Into<Unit>)

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

Source

fn set_hp_stock_alpha(self, stock: impl Into<i32>, alpha: impl Into<f32>)

SetHpStockAlpha(i32, f32) overload

Source

fn is_playing_hp_stock_effect(self) -> bool

IsPlayingHpStockEffect() overload

Source

fn get_hp_stock_effect_rate(self) -> f32

GetHpStockEffectRate() overload

Source

fn set_unit_screen_pos_local_scale(self, pos: impl Into<Vector3>)

SetUnitScreenPosLocalScale(crate::unity_engine::vector3::Vector3) overload

Source

fn set_screen_half_size(self, screen_half: impl Into<Vector2>)

SetScreenHalfSize(crate::unity_engine::vector2::Vector2) overload

Source

fn init_hp_forecast(self)

InitHpForecast() overload

Source

fn set_hp_forecast(self, before: impl Into<i32>, after: impl Into<i32>)

SetHpForecast(i32, i32) overload

Source

fn init_break(self)

InitBreak() overload

Source

fn set_break(self, is_break: impl Into<bool>)

SetBreak(bool) overload

Source

fn is_canvas_visibility_changed(self) -> bool

IsCanvasVisibilityChanged() overload

Source

fn is_next_canvas_visibility_enable(self) -> bool

IsNextCanvasVisibilityEnable() overload

Source

fn is_next_canvas_visibility_disable(self) -> bool

IsNextCanvasVisibilityDisable() overload

Source

fn canvas_visibility_change(self)

CanvasVisibilityChange() overload

Source

fn set_info_enable(self, enable: impl Into<bool>)

SetInfoEnable(bool) 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: IMapInfoRoot> IMapInfoRootMethods for __T

Available on crate feature app-mapinforoot only.