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§
Sourcefn 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 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
RebuildMenu(crate::app::unit::Unit, bool, bool) overload
RebuildMenu(bool, bool) overload
Sourcefn after_build(self)
fn after_build(self)
AfterBuild() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn get_select(self) -> BasicMenuSelect
fn get_select(self) -> BasicMenuSelect
GetSelect() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn b_call(self) -> BasicMenu_Result
fn b_call(self) -> BasicMenu_Result
BCall() overload
Sourcefn x_call(self) -> BasicMenu_Result
fn x_call(self) -> BasicMenu_Result
XCall() overload
Sourcefn custom_call(self) -> BasicMenu_Result
fn custom_call(self) -> BasicMenu_Result
CustomCall() overload
Sourcefn on_done_to_buy(self)
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§
impl<__T: IWeaponShopBuyMenu> IWeaponShopBuyMenuMethods for __T
app-weaponshopbuymenu only.