Skip to main content

IMapUnitCommandMenu_EngageActionBaseMenuItemMethods

Trait IMapUnitCommandMenu_EngageActionBaseMenuItemMethods 

Source
pub trait IMapUnitCommandMenu_EngageActionBaseMenuItemMethods: IMapUnitCommandMenu_EngageActionBaseMenuItem {
    // Provided methods
    fn get_flag_id(self) -> Il2CppString { ... }
    fn get_label(self) -> MapSequenceHuman_Label { ... }
    fn get_mind(self) -> MapMind_Type { ... }
    fn on_build(self) { ... }
    fn on_build_menu_item_content(self) { ... }
    fn ctor(self) { ... }
    fn get_engage_mind(self, unit: impl Into<Unit>) -> MapMind_Type { ... }
    fn check_buildable_with_unit(self, unit: impl Into<Unit>) -> bool { ... }
}

Provided Methods§

Source

fn get_flag_id(self) -> Il2CppString

get_FlagID() overload

Source

fn get_label(self) -> MapSequenceHuman_Label

get_Label() overload

Source

fn get_mind(self) -> MapMind_Type

get_Mind() overload

Source

fn on_build(self)

OnBuild() overload

Source

fn on_build_menu_item_content(self)

OnBuildMenuItemContent() overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_engage_mind(self, unit: impl Into<Unit>) -> MapMind_Type

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

Source

fn check_buildable_with_unit(self, unit: impl Into<Unit>) -> bool

CheckBuildableWithUnit(crate::app::unit::Unit) 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: IMapUnitCommandMenu_EngageActionBaseMenuItem> IMapUnitCommandMenu_EngageActionBaseMenuItemMethods for __T

Available on crate feature app-mapunitcommandmenu only.