Skip to main content

IMapUnitAICommandMenu_AIMenuItemMethods

Trait IMapUnitAICommandMenu_AIMenuItemMethods 

Source
pub trait IMapUnitAICommandMenu_AIMenuItemMethods: IMapUnitAICommandMenu_AIMenuItem {
    // Provided methods
    fn ctor(self, ai_type: impl Into<UnitAI_VersusTypes>) { ... }
    fn get_flag_id(self) -> Il2CppString { ... }
    fn on_build(self) { ... }
    fn setup_help_text(self) { ... }
    fn on_select(self) { ... }
    fn on_deselect(self) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_help_text(self) -> Il2CppString { ... }
    fn get_map_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
}

Provided Methods§

Source

fn ctor(self, ai_type: impl Into<UnitAI_VersusTypes>)

.ctor(crate::app::unitai::UnitAI_VersusTypes) overload

Source

fn get_flag_id(self) -> Il2CppString

get_FlagID() overload

Source

fn on_build(self)

OnBuild() overload

Source

fn setup_help_text(self)

SetupHelpText() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn on_deselect(self)

OnDeselect() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_help_text(self) -> Il2CppString

GetHelpText() overload

Source

fn get_map_attribute(self) -> BasicMenuItem_Attribute

GetMapAttribute() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() 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: IMapUnitAICommandMenu_AIMenuItem> IMapUnitAICommandMenu_AIMenuItemMethods for __T

Available on crate feature app-mapunitaicommandmenu only.