Skip to main content

IVersusEditMenuItemMethods

Trait IVersusEditMenuItemMethods 

Source
pub trait IVersusEditMenuItemMethods: IVersusEditMenuItem {
    // Provided methods
    fn get_name(self) -> Il2CppString { ... }
    fn set_name(self, value: impl Into<Il2CppString>) { ... }
    fn get_index(self) -> i32 { ... }
    fn set_index(self, value: impl Into<i32>) { ... }
    fn get_category_icon(self) -> Il2CppString { ... }
    fn set_category_icon(self, value: impl Into<Il2CppString>) { ... }
    fn ctor(
        self,
        index: impl Into<i32>,
        data: impl Into<MapEditorObjectData>,
        on_select_callback: impl Into<Action_1<MapEditorCategoryData>>,
    ) { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
    fn b_call(self) -> BasicMenu_Result { ... }
    fn on_select(self) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_Name(::unity::Il2CppString) overload

Source

fn get_index(self) -> i32

get_Index() overload

Source

fn set_index(self, value: impl Into<i32>)

set_Index(i32) overload

Source

fn get_category_icon(self) -> Il2CppString

get_CategoryIcon() overload

Source

fn set_category_icon(self, value: impl Into<Il2CppString>)

set_CategoryIcon(::unity::Il2CppString) overload

Source

fn ctor( self, index: impl Into<i32>, data: impl Into<MapEditorObjectData>, on_select_callback: impl Into<Action_1<MapEditorCategoryData>>, )

.ctor(i32, crate::app::mapeditorobjectdata::MapEditorObjectData, crate::system::action_1::Action_1<crate::app::mapeditorcategorydata::MapEditorCategoryData>) overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn on_select(self)

OnSelect() 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: IVersusEditMenuItem> IVersusEditMenuItemMethods for __T

Available on crate feature app-versuseditmenuitem only.