Skip to main content

ITroopListMenuMethods

Trait ITroopListMenuMethods 

Source
pub trait ITroopListMenuMethods: ITroopListMenu {
Show 14 methods // Provided methods fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<TroopListMenuContent>, ) { ... } fn get_name(self) -> Il2CppString { ... } fn move_up(self, is_trigger: impl Into<bool>) { ... } fn move_down(self, is_trigger: impl Into<bool>) { ... } fn custom_call(self) -> BasicMenu_Result { ... } fn a_call(self) -> BasicMenu_Result { ... } fn get_current_page(self) -> i32 { ... } fn inc_page(self, is_trigger: impl Into<bool>) { ... } fn dec_page(self, is_trigger: impl Into<bool>) { ... } fn inc_sort(self, is_trigger: impl Into<bool>) { ... } fn dec_sort(self, is_trigger: impl Into<bool>) { ... } fn get_sort_unit(self, index: impl Into<i32>) -> Unit { ... } fn get_sort_tmp_unit(self, index: impl Into<i32>) -> Unit { ... } fn is_select_sort(self) -> bool { ... }
}

Provided Methods§

Source

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

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

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn move_up(self, is_trigger: impl Into<bool>)

MoveUp(bool) overload

Source

fn move_down(self, is_trigger: impl Into<bool>)

MoveDown(bool) overload

Source

fn custom_call(self) -> BasicMenu_Result

CustomCall() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn get_current_page(self) -> i32

GetCurrentPage() overload

Source

fn inc_page(self, is_trigger: impl Into<bool>)

IncPage(bool) overload

Source

fn dec_page(self, is_trigger: impl Into<bool>)

DecPage(bool) overload

Source

fn inc_sort(self, is_trigger: impl Into<bool>)

IncSort(bool) overload

Source

fn dec_sort(self, is_trigger: impl Into<bool>)

DecSort(bool) overload

Source

fn get_sort_unit(self, index: impl Into<i32>) -> Unit

GetSortUnit(i32) overload

Source

fn get_sort_tmp_unit(self, index: impl Into<i32>) -> Unit

GetSortTmpUnit(i32) overload

Source

fn is_select_sort(self) -> bool

IsSelectSort() 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: ITroopListMenu> ITroopListMenuMethods for __T

Available on crate feature app-trooplistmenu only.