Skip to main content

IMapInfoUnitMethods

Trait IMapInfoUnitMethods 

Source
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§

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn init(self)

Init() overload

Source

fn get_sprites(self)

GetSprites() overload

Source

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

GetSprite(i32) overload

Source

fn update_visible(self)

UpdateVisible() overload

Source

fn update_page(self)

UpdatePage() overload

Source

fn force_update_all_unit(self)

ForceUpdateAllUnit() overload

Source

fn set_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>)

SetSuppressFlag(crate::app::mapinfounit::MapInfoUnit_SuppressScene) overload

Source

fn unset_suppress_flag(self, flag: impl Into<MapInfoUnit_SuppressScene>)

UnsetSuppressFlag(crate::app::mapinfounit::MapInfoUnit_SuppressScene) overload

Source

fn update_suppress(self)

UpdateSuppress() overload

Source

fn can_switch_unit_info(self) -> bool

CanSwitchUnitInfo() overload

Source

fn is_switch_unit_info(self) -> bool

IsSwitchUnitInfo() overload

Source

fn get_scale_curve(self) -> AnimationCurve

get_ScaleCurve() overload

Source

fn get_input(self) -> MapInfoUnit_InputState

get_Input() overload

Source

fn set_input(self, value: impl Into<MapInfoUnit_InputState>)

set_Input(crate::app::mapinfounit::MapInfoUnit_InputState) overload

Source

fn get_is_visible(self) -> bool

get_IsVisible() overload

Source

fn set_is_visible(self, value: impl Into<bool>)

set_IsVisible(bool) overload

Source

fn get_is_suppress(self) -> bool

get_IsSuppress() overload

Source

fn get_alpha_change_ratio(self) -> f32

get_AlphaChangeRatio() overload

Source

fn get_is_open_map_navigation(self) -> bool

get_IsOpenMapNavigation() 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: IMapInfoUnit> IMapInfoUnitMethods for __T

Available on crate feature app-mapinfounit only.