pub trait IItemShopBuyMenuItemMethods: IItemShopBuyMenuItem {
Show 24 methods
// Provided methods
fn get_m_item_data(self) -> ItemData { ... }
fn set_m_item_data(self, value: impl Into<ItemData>) { ... }
fn get_m_unit_item(self) -> UnitItem { ... }
fn set_m_unit_item(self, value: impl Into<UnitItem>) { ... }
fn get_m_stock_num(self) -> i32 { ... }
fn set_m_stock_num(self, value: impl Into<i32>) { ... }
fn get_m_new_arrival(self) -> bool { ... }
fn set_m_new_arrival(self, value: impl Into<bool>) { ... }
fn ctor(
self,
shop_content: impl Into<ShopContent>,
unit: impl Into<Unit>,
select_event_handler: impl Into<ItemShopBuyMenu_SelectEventHandler>,
decide_event_handler: impl Into<ItemShopBuyMenu_DecideEventHandler>,
change_unit_to_prev_event_handler: impl Into<ItemShopBuyMenu_ChangeUnitToPrevEventHandler>,
change_unit_to_next_event_handler: impl Into<ItemShopBuyMenu_ChangeUnitToNextEventHandler>,
for_flea_market: impl Into<bool>,
) { ... }
fn get_name(self) -> Il2CppString { ... }
fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
fn on_build(self) { ... }
fn on_build_menu_item_content(self) { ... }
fn set_initial_color(self) { ... }
fn is_effective(self) -> bool { ... }
fn set_text_color(
self,
active_color1: impl Into<Color>,
active_color2: impl Into<Color>,
inactive_color1: impl Into<Color>,
inactive_color2: impl Into<Color>,
) { ... }
fn on_select(self) { ... }
fn on_deselect(self) { ... }
fn on_cursor_move_end(self) { ... }
fn a_call(self) -> BasicMenu_Result { ... }
fn on_done_to_buy(self) { ... }
fn custom_call(self) -> BasicMenu_Result { ... }
fn get_unit_item_empty_count(self) -> i32 { ... }
fn is_enough_money_to_be_buyed(self) -> bool { ... }
}Provided Methods§
Sourcefn get_m_item_data(self) -> ItemData
fn get_m_item_data(self) -> ItemData
get_m_ItemData() overload
Sourcefn set_m_item_data(self, value: impl Into<ItemData>)
fn set_m_item_data(self, value: impl Into<ItemData>)
set_m_ItemData(crate::app::itemdata::ItemData) overload
Sourcefn get_m_unit_item(self) -> UnitItem
fn get_m_unit_item(self) -> UnitItem
get_m_UnitItem() overload
Sourcefn set_m_unit_item(self, value: impl Into<UnitItem>)
fn set_m_unit_item(self, value: impl Into<UnitItem>)
set_m_UnitItem(crate::app::unititem::UnitItem) overload
Sourcefn get_m_stock_num(self) -> i32
fn get_m_stock_num(self) -> i32
get_m_StockNum() overload
Sourcefn set_m_stock_num(self, value: impl Into<i32>)
fn set_m_stock_num(self, value: impl Into<i32>)
set_m_StockNum(i32) overload
Sourcefn get_m_new_arrival(self) -> bool
fn get_m_new_arrival(self) -> bool
get_m_NewArrival() overload
Sourcefn set_m_new_arrival(self, value: impl Into<bool>)
fn set_m_new_arrival(self, value: impl Into<bool>)
set_m_NewArrival(bool) overload
Sourcefn ctor(
self,
shop_content: impl Into<ShopContent>,
unit: impl Into<Unit>,
select_event_handler: impl Into<ItemShopBuyMenu_SelectEventHandler>,
decide_event_handler: impl Into<ItemShopBuyMenu_DecideEventHandler>,
change_unit_to_prev_event_handler: impl Into<ItemShopBuyMenu_ChangeUnitToPrevEventHandler>,
change_unit_to_next_event_handler: impl Into<ItemShopBuyMenu_ChangeUnitToNextEventHandler>,
for_flea_market: impl Into<bool>,
)
fn ctor( self, shop_content: impl Into<ShopContent>, unit: impl Into<Unit>, select_event_handler: impl Into<ItemShopBuyMenu_SelectEventHandler>, decide_event_handler: impl Into<ItemShopBuyMenu_DecideEventHandler>, change_unit_to_prev_event_handler: impl Into<ItemShopBuyMenu_ChangeUnitToPrevEventHandler>, change_unit_to_next_event_handler: impl Into<ItemShopBuyMenu_ChangeUnitToNextEventHandler>, for_flea_market: impl Into<bool>, )
.ctor(crate::app::shopcontent::ShopContent, crate::app::unit::Unit, crate::app::itemshopbuymenu::ItemShopBuyMenu_SelectEventHandler, crate::app::itemshopbuymenu::ItemShopBuyMenu_DecideEventHandler, crate::app::itemshopbuymenu::ItemShopBuyMenu_ChangeUnitToPrevEventHandler, crate::app::itemshopbuymenu::ItemShopBuyMenu_ChangeUnitToNextEventHandler, bool) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
OnBuildMenuItemContent() overload
Sourcefn set_initial_color(self)
fn set_initial_color(self)
SetInitialColor() overload
Sourcefn is_effective(self) -> bool
fn is_effective(self) -> bool
IsEffective() overload
Sourcefn set_text_color(
self,
active_color1: impl Into<Color>,
active_color2: impl Into<Color>,
inactive_color1: impl Into<Color>,
inactive_color2: impl Into<Color>,
)
fn set_text_color( self, active_color1: impl Into<Color>, active_color2: impl Into<Color>, inactive_color1: impl Into<Color>, inactive_color2: impl Into<Color>, )
SetTextColor(crate::unity_engine::color::Color, crate::unity_engine::color::Color, crate::unity_engine::color::Color, crate::unity_engine::color::Color) overload
Sourcefn on_deselect(self)
fn on_deselect(self)
OnDeselect() overload
Sourcefn on_cursor_move_end(self)
fn on_cursor_move_end(self)
OnCursorMoveEnd() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn on_done_to_buy(self)
fn on_done_to_buy(self)
OnDoneToBuy() overload
Sourcefn custom_call(self) -> BasicMenu_Result
fn custom_call(self) -> BasicMenu_Result
CustomCall() overload
Sourcefn get_unit_item_empty_count(self) -> i32
fn get_unit_item_empty_count(self) -> i32
GetUnitItemEmptyCount() overload
Sourcefn is_enough_money_to_be_buyed(self) -> bool
fn is_enough_money_to_be_buyed(self) -> bool
IsEnoughMoneyToBeBuyed() 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: IItemShopBuyMenuItem> IItemShopBuyMenuItemMethods for __T
app-itemshopbuymenuitem only.