Skip to main content

IMapBattleInfoWindowMethods

Trait IMapBattleInfoWindowMethods 

Source
pub trait IMapBattleInfoWindowMethods: IMapBattleInfoWindow {
Show 14 methods // Provided methods fn is_loading(self) -> bool { ... } fn set_battle_info( self, info: impl Into<BattleInfo>, scene_list: impl Into<BattleSceneList>, ) { ... } fn set_weapon_change_visible(self, is_visible: impl Into<bool>) { ... } fn set_engage_command_visible( self, unit: impl Into<Unit>, target: impl Into<Unit>, ) { ... } fn activate(self) { ... } fn deactivate(self) { ... } fn is_active(self) -> bool { ... } fn on_create(self) { ... } fn on_dispose(self) { ... } fn create_objects(self) { ... } fn destroy_objects(self) { ... } fn get_battle_info_l(self) -> GameObject { ... } fn get_battle_info_r(self) -> GameObject { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn is_loading(self) -> bool

IsLoading() overload

Source

fn set_battle_info( self, info: impl Into<BattleInfo>, scene_list: impl Into<BattleSceneList>, )

SetBattleInfo(crate::app::battleinfo::BattleInfo, crate::app::battlescenelist::BattleSceneList) overload

Source

fn set_weapon_change_visible(self, is_visible: impl Into<bool>)

SetWeaponChangeVisible(bool) overload

Source

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

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

Source

fn activate(self)

Activate() overload

Source

fn deactivate(self)

Deactivate() overload

Source

fn is_active(self) -> bool

IsActive() overload

Source

fn on_create(self)

OnCreate() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn create_objects(self)

CreateObjects() overload

Source

fn destroy_objects(self)

DestroyObjects() overload

Source

fn get_battle_info_l(self) -> GameObject

get_BattleInfoL() overload

Source

fn get_battle_info_r(self) -> GameObject

get_BattleInfoR() 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: IMapBattleInfoWindow> IMapBattleInfoWindowMethods for __T

Available on crate feature app-mapbattleinfowindow only.