Skip to main content

IFleaMarketBuyRootMethods

Trait IFleaMarketBuyRootMethods 

Source
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§

Source

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

Source

fn ctor(self)

.ctor() 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: IFleaMarketBuyRoot> IFleaMarketBuyRootMethods for __T

Available on crate feature app-fleamarketbuyroot only.