pub trait IShopSellRootMethods: IShopSellRoot {
Show 14 methods
// Provided methods
fn create(
self,
super_: impl Into<ProcInst>,
unit: impl Into<Unit>,
return_event_handler: impl Into<ShopSellRoot_ReturnEventHandler>,
) { ... }
fn destroy_2(self) { ... }
fn ctor(self) { ... }
fn update_item_detail(self) { ... }
fn set_unit_image_active(self, is_active: impl Into<bool>) { ... }
fn on_change_unit_to_prev(self) { ... }
fn on_change_unit_to_next(self) { ... }
fn on_switch_detail_display_way(self) { ... }
fn on_select_menu_item(self, unit_item: impl Into<UnitItem>) { ... }
fn on_decide_item(
self,
item_count: impl Into<i32>,
total_value: impl Into<i32>,
) { ... }
fn on_cancel_item(
self,
item_count: impl Into<i32>,
total_value: impl Into<i32>,
) { ... }
fn on_decide_to_sell(self) { ... }
fn sell(self) { ... }
fn on_request_close_menu(self) { ... }
}Provided Methods§
Sourcefn create(
self,
super_: impl Into<ProcInst>,
unit: impl Into<Unit>,
return_event_handler: impl Into<ShopSellRoot_ReturnEventHandler>,
)
fn create( self, super_: impl Into<ProcInst>, unit: impl Into<Unit>, return_event_handler: impl Into<ShopSellRoot_ReturnEventHandler>, )
Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::shopsellroot::ShopSellRoot_ReturnEventHandler) overload
Sourcefn update_item_detail(self)
fn update_item_detail(self)
UpdateItemDetail() overload
Sourcefn set_unit_image_active(self, is_active: impl Into<bool>)
fn set_unit_image_active(self, is_active: impl Into<bool>)
SetUnitImageActive(bool) overload
Sourcefn on_change_unit_to_prev(self)
fn on_change_unit_to_prev(self)
OnChangeUnitToPrev() overload
Sourcefn on_change_unit_to_next(self)
fn on_change_unit_to_next(self)
OnChangeUnitToNext() overload
Sourcefn on_switch_detail_display_way(self)
fn on_switch_detail_display_way(self)
OnSwitchDetailDisplayWay() overload
OnSelectMenuItem(crate::app::unititem::UnitItem) overload
Sourcefn on_decide_item(self, item_count: impl Into<i32>, total_value: impl Into<i32>)
fn on_decide_item(self, item_count: impl Into<i32>, total_value: impl Into<i32>)
OnDecideItem(i32, i32) overload
Sourcefn on_cancel_item(self, item_count: impl Into<i32>, total_value: impl Into<i32>)
fn on_cancel_item(self, item_count: impl Into<i32>, total_value: impl Into<i32>)
OnCancelItem(i32, i32) overload
Sourcefn on_decide_to_sell(self)
fn on_decide_to_sell(self)
OnDecideToSell() overload
OnRequestCloseMenu() 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: IShopSellRoot> IShopSellRootMethods for __T
Available on crate feature
app-shopsellroot only.