Skip to main content

IShopSellMenuMethods

Trait IShopSellMenuMethods 

Source
pub trait IShopSellMenuMethods: IShopSellMenu {
Show 20 methods // Provided methods fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<ShopSellMenuContent>, unit: impl Into<Unit>, select_event_handler: impl Into<ShopSellMenu_SelectEventHandler>, decide_item_event_handler: impl Into<ShopSellMenu_DecideItemEventHandler>, cancel_item_event_handler: impl Into<ShopSellMenu_CancelItemEventHandler>, decide_event_handler: impl Into<ShopSellMenu_DecideEventHandler>, request_close_event_handler: impl Into<ShopSellMenu_RequestCloseEventHandler>, change_unit_to_prev_event_handler: impl Into<ShopSellMenu_ChangeUnitToPrevEventHandler>, change_unit_to_next_event_handler: impl Into<ShopSellMenu_ChangeUnitToNextEventHandler>, switch_detail_displayway_event_handler: impl Into<ShopSellMenu_SwitchDetailDisplaywayEventHandler>, ) { ... } fn rebuild_menu(self, unit: impl Into<Unit>) { ... } fn rebuild_menu_2(self) { ... } fn rebuild_menu_item(self) { ... } fn get_name(self) -> Il2CppString { ... } fn get_select(self) -> BasicMenuSelect { ... } fn enable_menu(self, indicator: impl Into<ShopSellMenu_KindIndicator>) { ... } fn move_front_cursor_from(self, from_menu: impl Into<BasicMenu>) { ... } fn disable_menu(self) { ... } fn get_decided_list(self, max: impl Into<i32>) -> List_1<UnitItem> { ... } fn get_total_value(self) -> i32 { ... } fn clear_decided(self) { ... } fn key_left(self, is_trigger: impl Into<bool>) { ... } fn key_right(self, is_trigger: impl Into<bool>) { ... } fn a_call(self) -> BasicMenu_Result { ... } fn b_call(self) -> BasicMenu_Result { ... } fn x_call(self) -> BasicMenu_Result { ... } fn on_decide_item(self, item_index: impl Into<i32>) { ... } fn on_cancel_item(self, item_index: impl Into<i32>) { ... } fn sell_multi(self) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<ShopSellMenuContent>, unit: impl Into<Unit>, select_event_handler: impl Into<ShopSellMenu_SelectEventHandler>, decide_item_event_handler: impl Into<ShopSellMenu_DecideItemEventHandler>, cancel_item_event_handler: impl Into<ShopSellMenu_CancelItemEventHandler>, decide_event_handler: impl Into<ShopSellMenu_DecideEventHandler>, request_close_event_handler: impl Into<ShopSellMenu_RequestCloseEventHandler>, change_unit_to_prev_event_handler: impl Into<ShopSellMenu_ChangeUnitToPrevEventHandler>, change_unit_to_next_event_handler: impl Into<ShopSellMenu_ChangeUnitToNextEventHandler>, switch_detail_displayway_event_handler: impl Into<ShopSellMenu_SwitchDetailDisplaywayEventHandler>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::shopsellmenucontent::ShopSellMenuContent, crate::app::unit::Unit, crate::app::shopsellmenu::ShopSellMenu_SelectEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_CancelItemEventHandler, crate::app::shopsellmenu::ShopSellMenu_DecideEventHandler, crate::app::shopsellmenu::ShopSellMenu_RequestCloseEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToPrevEventHandler, crate::app::shopsellmenu::ShopSellMenu_ChangeUnitToNextEventHandler, crate::app::shopsellmenu::ShopSellMenu_SwitchDetailDisplaywayEventHandler) overload

Source

fn rebuild_menu(self, unit: impl Into<Unit>)

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

Source

fn rebuild_menu_2(self)

RebuildMenu() overload

Source

fn rebuild_menu_item(self)

RebuildMenuItem() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_select(self) -> BasicMenuSelect

GetSelect() overload

Source

fn enable_menu(self, indicator: impl Into<ShopSellMenu_KindIndicator>)

EnableMenu(crate::app::shopsellmenu::ShopSellMenu_KindIndicator) overload

Source

fn move_front_cursor_from(self, from_menu: impl Into<BasicMenu>)

MoveFrontCursorFrom(crate::app::basicmenu::BasicMenu) overload

Source

fn disable_menu(self)

DisableMenu() overload

Source

fn get_decided_list(self, max: impl Into<i32>) -> List_1<UnitItem>

GetDecidedList(i32) overload

Source

fn get_total_value(self) -> i32

GetTotalValue() overload

Source

fn clear_decided(self)

ClearDecided() overload

Source

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

KeyLeft(bool) overload

Source

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

KeyRight(bool) overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn x_call(self) -> BasicMenu_Result

XCall() overload

Source

fn on_decide_item(self, item_index: impl Into<i32>)

OnDecideItem(i32) overload

Source

fn on_cancel_item(self, item_index: impl Into<i32>)

OnCancelItem(i32) overload

Source

fn sell_multi(self)

SellMulti() 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: IShopSellMenu> IShopSellMenuMethods for __T

Available on crate feature app-shopsellmenu only.