Skip to main content

IItemShopBuyRootMethods

Trait IItemShopBuyRootMethods 

Source
pub trait IItemShopBuyRootMethods: IItemShopBuyRoot {
Show 18 methods // Provided methods fn create( self, super_: impl Into<ProcInst>, unit: impl Into<Unit>, existing_owner: impl Into<bool>, return_event_handler: impl Into<ItemShopBuyRoot_ReturnEventHandler>, ) { ... } fn ctor(self) { ... } fn start(self) { ... } fn set_unit_image_active(self, is_active: impl Into<bool>) { ... } fn update_item_detail(self) { ... } fn on_change_unit_to_prev(self, unit_item: impl Into<UnitItem>) { ... } fn on_change_unit_to_next(self, unit_item: impl Into<UnitItem>) { ... } fn on_switch_detail_display_way(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§

Source

fn create( self, super_: impl Into<ProcInst>, unit: impl Into<Unit>, existing_owner: impl Into<bool>, return_event_handler: impl Into<ItemShopBuyRoot_ReturnEventHandler>, )

Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, bool, crate::app::itemshopbuyroot::ItemShopBuyRoot_ReturnEventHandler) overload

Source

fn ctor(self)

.ctor() overload

Source

fn start(self)

Start() overload

Source

fn set_unit_image_active(self, is_active: impl Into<bool>)

SetUnitImageActive(bool) overload

Source

fn update_item_detail(self)

UpdateItemDetail() overload

Source

fn on_change_unit_to_prev(self, unit_item: impl Into<UnitItem>)

OnChangeUnitToPrev(crate::app::unititem::UnitItem) overload

Source

fn on_change_unit_to_next(self, unit_item: impl Into<UnitItem>)

OnChangeUnitToNext(crate::app::unititem::UnitItem) overload

Source

fn on_switch_detail_display_way(self)

OnSwitchDetailDisplayWay() overload

Source

fn on_select_menu_item(self, unit_item: impl Into<UnitItem>)

OnSelectMenuItem(crate::app::unititem::UnitItem) overload

Source

fn on_decide_menu_item(self, item_data: impl Into<ItemData>) -> bool

OnDecideMenuItem(crate::app::itemdata::ItemData) overload

Source

fn on_yes_to_buy(self)

OnYesToBuy() overload

Source

fn on_decide_to_send_item( self, is_selecting_unit_item: impl Into<bool>, unit_item_index: impl Into<i32>, )

OnDecideToSendItem(bool, i32) overload

Source

fn on_cancel_to_send_item(self)

OnCancelToSendItem() overload

Source

fn on_decidel_to_discard_item( self, transporter_is_selected: impl Into<bool>, transporter_item_index: impl Into<i32>, )

OnDecidelToDiscardItem(bool, i32) overload

Source

fn on_cancel_to_discard_item(self)

OnCancelToDiscardItem() overload

Source

fn on_buy(self)

OnBuy() overload

Source

fn on_request_close(self)

OnRequestClose() overload

Source

fn close(self)

Close() 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: IItemShopBuyRoot> IItemShopBuyRootMethods for __T

Available on crate feature app-itemshopbuyroot only.