Skip to main content

IMapUnitSubCommandMenuMethods

Trait IMapUnitSubCommandMenuMethods 

Source
pub trait IMapUnitSubCommandMenuMethods: IMapUnitSubCommandMenu {
    // Provided methods
    fn ctor(
        self,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        menu_content: impl Into<MapUnitCommandMenuContent>,
    ) { ... }
    fn get_flag_id(self) -> Il2CppString { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn on_dispose(self) { ... }
    fn b_call(self) -> BasicMenu_Result { ... }
    fn tick(self) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<MapUnitCommandMenuContent>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::mapunitcommandmenucontent::MapUnitCommandMenuContent) overload

Source

fn get_flag_id(self) -> Il2CppString

get_FlagID() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn tick(self)

Tick() 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: IMapUnitSubCommandMenu> IMapUnitSubCommandMenuMethods for __T

Available on crate feature app-mapunitsubcommandmenu only.