Skip to main content

IWeaponShopBuyMenuMethods

Trait IWeaponShopBuyMenuMethods 

Source
pub trait IWeaponShopBuyMenuMethods: IWeaponShopBuyMenu {
Show 13 methods // Provided methods fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<WeaponShopBuyMenuContent>, shop_content_array: impl Into<Array<ShopContent>>, unit: impl Into<Unit>, select_event_handler: impl Into<WeaponShopBuyMenu_SelectEventHandler>, decide_event_handler: impl Into<WeaponShopBuyMenu_DecideEventHandler>, request_close_menu_event_handler: impl Into<WeaponShopBuyMenu_RequestCloseEventHandler>, change_unit_to_prev_event_handler: impl Into<WeaponShopBuyMenu_ChangeUnitToPrevEventHandler>, change_unit_to_next_event_handler: impl Into<WeaponShopBuyMenu_ChangeUnitToNextEventHandler>, switch_detail_displayway_event_handler: impl Into<WeaponShopBuyMenu_SwitchDetailDisplaywayEventHandler>, ) { ... } fn rebuild_menu( self, unit: impl Into<Unit>, keep_select: impl Into<bool>, setup_shopdata: impl Into<bool>, ) { ... } fn rebuild_menu_2( self, keep_select: impl Into<bool>, setup_shopdata: impl Into<bool>, ) { ... } fn after_build(self) { ... } fn get_name(self) -> Il2CppString { ... } fn get_select(self) -> BasicMenuSelect { ... } 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 custom_call(self) -> BasicMenu_Result { ... } fn on_done_to_buy(self) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<WeaponShopBuyMenuContent>, shop_content_array: impl Into<Array<ShopContent>>, unit: impl Into<Unit>, select_event_handler: impl Into<WeaponShopBuyMenu_SelectEventHandler>, decide_event_handler: impl Into<WeaponShopBuyMenu_DecideEventHandler>, request_close_menu_event_handler: impl Into<WeaponShopBuyMenu_RequestCloseEventHandler>, change_unit_to_prev_event_handler: impl Into<WeaponShopBuyMenu_ChangeUnitToPrevEventHandler>, change_unit_to_next_event_handler: impl Into<WeaponShopBuyMenu_ChangeUnitToNextEventHandler>, switch_detail_displayway_event_handler: impl Into<WeaponShopBuyMenu_SwitchDetailDisplaywayEventHandler>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::weaponshopbuymenucontent::WeaponShopBuyMenuContent, ::unity::Array<crate::app::shopcontent::ShopContent>, crate::app::unit::Unit, crate::app::weaponshopbuymenu::WeaponShopBuyMenu_SelectEventHandler, crate::app::weaponshopbuymenu::WeaponShopBuyMenu_DecideEventHandler, crate::app::weaponshopbuymenu::WeaponShopBuyMenu_RequestCloseEventHandler, crate::app::weaponshopbuymenu::WeaponShopBuyMenu_ChangeUnitToPrevEventHandler, crate::app::weaponshopbuymenu::WeaponShopBuyMenu_ChangeUnitToNextEventHandler, crate::app::weaponshopbuymenu::WeaponShopBuyMenu_SwitchDetailDisplaywayEventHandler) overload

Source

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

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

Source

fn rebuild_menu_2( self, keep_select: impl Into<bool>, setup_shopdata: impl Into<bool>, )

RebuildMenu(bool, bool) overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_select(self) -> BasicMenuSelect

GetSelect() 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 custom_call(self) -> BasicMenu_Result

CustomCall() overload

Source

fn on_done_to_buy(self)

OnDoneToBuy() 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: IWeaponShopBuyMenu> IWeaponShopBuyMenuMethods for __T

Available on crate feature app-weaponshopbuymenu only.