pub trait IMapInfoUnitMethods: IMapInfoUnit {
Show 22 methods
// Provided methods
fn start(self) { ... }
fn update(self) { ... }
fn init(self) { ... }
fn get_sprites(self) { ... }
fn get_sprite(self, index: impl Into<i32>) -> Sprite { ... }
fn update_visible(self) { ... }
fn update_page(self) { ... }
fn force_update_all_unit(self) { ... }
fn set_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>) { ... }
fn unset_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>) { ... }
fn update_suppress(self) { ... }
fn can_switch_unit_info(self) -> bool { ... }
fn is_switch_unit_info(self) -> bool { ... }
fn get_scale_curve(self) -> AnimationCurve { ... }
fn get_input(self) -> MapInfoUnit_InputState { ... }
fn set_input(self, value: impl Into<MapInfoUnit_InputState>) { ... }
fn get_is_visible(self) -> bool { ... }
fn set_is_visible(self, value: impl Into<bool>) { ... }
fn get_is_suppress(self) -> bool { ... }
fn get_alpha_change_ratio(self) -> f32 { ... }
fn get_is_open_map_navigation(self) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_sprites(self)
fn get_sprites(self)
GetSprites() overload
Sourcefn get_sprite(self, index: impl Into<i32>) -> Sprite
fn get_sprite(self, index: impl Into<i32>) -> Sprite
GetSprite(i32) overload
Sourcefn update_visible(self)
fn update_visible(self)
UpdateVisible() overload
Sourcefn update_page(self)
fn update_page(self)
UpdatePage() overload
Sourcefn force_update_all_unit(self)
fn force_update_all_unit(self)
ForceUpdateAllUnit() overload
Sourcefn set_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>)
fn set_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>)
SetSuppressFlag(crate::app::mapinfounit::MapInfoUnit_SuppressScene) overload
Sourcefn unset_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>)
fn unset_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>)
UnsetSuppressFlag(crate::app::mapinfounit::MapInfoUnit_SuppressScene) overload
Sourcefn update_suppress(self)
fn update_suppress(self)
UpdateSuppress() overload
Sourcefn can_switch_unit_info(self) -> bool
fn can_switch_unit_info(self) -> bool
CanSwitchUnitInfo() overload
Sourcefn is_switch_unit_info(self) -> bool
fn is_switch_unit_info(self) -> bool
IsSwitchUnitInfo() overload
Sourcefn get_scale_curve(self) -> AnimationCurve
fn get_scale_curve(self) -> AnimationCurve
get_ScaleCurve() overload
Sourcefn get_input(self) -> MapInfoUnit_InputState
fn get_input(self) -> MapInfoUnit_InputState
get_Input() overload
Sourcefn set_input(self, value: impl Into<MapInfoUnit_InputState>)
fn set_input(self, value: impl Into<MapInfoUnit_InputState>)
set_Input(crate::app::mapinfounit::MapInfoUnit_InputState) overload
Sourcefn get_is_visible(self) -> bool
fn get_is_visible(self) -> bool
get_IsVisible() overload
Sourcefn set_is_visible(self, value: impl Into<bool>)
fn set_is_visible(self, value: impl Into<bool>)
set_IsVisible(bool) overload
Sourcefn get_is_suppress(self) -> bool
fn get_is_suppress(self) -> bool
get_IsSuppress() overload
Sourcefn get_alpha_change_ratio(self) -> f32
fn get_alpha_change_ratio(self) -> f32
get_AlphaChangeRatio() overload
get_IsOpenMapNavigation() 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: IMapInfoUnit> IMapInfoUnitMethods for __T
Available on crate feature
app-mapinfounit only.