pub trait IFleaMarketBuyRootMethods: IFleaMarketBuyRoot {
// Provided methods
fn create(
self,
super_: impl Into<ProcInst>,
unit: impl Into<Unit>,
return_event_handler: impl Into<FleaMarketBuyRoot_ReturnEventHandler>,
is_enabled_voice: impl Into<bool>,
) { ... }
fn ctor(self) { ... }
fn on_select_menu_item(self, unit_item: impl Into<UnitItem>) { ... }
fn on_decide_menu_item(self, item_data: impl Into<ItemData>) -> bool { ... }
fn on_yes_to_buy(self) { ... }
fn on_decide_to_send_item(
self,
is_selecting_unit_item: impl Into<bool>,
unit_item_index: impl Into<i32>,
) { ... }
fn on_cancel_to_send_item(self) { ... }
fn on_decidel_to_discard_item(
self,
transporter_is_selected: impl Into<bool>,
transporter_item_index: impl Into<i32>,
) { ... }
fn on_cancel_to_discard_item(self) { ... }
fn on_buy(self) { ... }
fn on_request_close(self) { ... }
fn close(self) { ... }
}Provided Methods§
Sourcefn create(
self,
super_: impl Into<ProcInst>,
unit: impl Into<Unit>,
return_event_handler: impl Into<FleaMarketBuyRoot_ReturnEventHandler>,
is_enabled_voice: impl Into<bool>,
)
fn create( self, super_: impl Into<ProcInst>, unit: impl Into<Unit>, return_event_handler: impl Into<FleaMarketBuyRoot_ReturnEventHandler>, is_enabled_voice: impl Into<bool>, )
Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::fleamarketbuyroot::FleaMarketBuyRoot_ReturnEventHandler, bool) overload
OnSelectMenuItem(crate::app::unititem::UnitItem) overload
OnDecideMenuItem(crate::app::itemdata::ItemData) overload
Sourcefn on_yes_to_buy(self)
fn on_yes_to_buy(self)
OnYesToBuy() overload
Sourcefn on_decide_to_send_item(
self,
is_selecting_unit_item: impl Into<bool>,
unit_item_index: impl Into<i32>,
)
fn on_decide_to_send_item( self, is_selecting_unit_item: impl Into<bool>, unit_item_index: impl Into<i32>, )
OnDecideToSendItem(bool, i32) overload
Sourcefn on_cancel_to_send_item(self)
fn on_cancel_to_send_item(self)
OnCancelToSendItem() overload
Sourcefn on_decidel_to_discard_item(
self,
transporter_is_selected: impl Into<bool>,
transporter_item_index: impl Into<i32>,
)
fn on_decidel_to_discard_item( self, transporter_is_selected: impl Into<bool>, transporter_item_index: impl Into<i32>, )
OnDecidelToDiscardItem(bool, i32) overload
Sourcefn on_cancel_to_discard_item(self)
fn on_cancel_to_discard_item(self)
OnCancelToDiscardItem() overload
Sourcefn on_request_close(self)
fn on_request_close(self)
OnRequestClose() 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: IFleaMarketBuyRoot> IFleaMarketBuyRootMethods for __T
Available on crate feature
app-fleamarketbuyroot only.