Skip to main content

IWeaponShopBuyMenuContentMethods

Trait IWeaponShopBuyMenuContentMethods 

Source
pub trait IWeaponShopBuyMenuContentMethods: IWeaponShopBuyMenuContent {
Show 13 methods // Provided methods fn start(self) { ... } fn after_build(self) { ... } fn get_menu_item_content_max(self) -> i32 { ... } fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... } fn set_kind(self, kind: impl Into<ItemData_Kinds>) { ... } fn set_to_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds { ... } fn set_to_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds { ... } fn is_first_kind(self, kind: impl Into<ItemData_Kinds>) -> bool { ... } fn is_last_kind(self, kind: impl Into<ItemData_Kinds>) -> bool { ... } fn enable_item_kind( self, kind: impl Into<ItemData_Kinds>, enabled: impl Into<bool>, ) { ... } fn update_get_kind_count(self) { ... } fn get_kind_count(self) -> i32 { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32

CalcCursorMovedPosY(i32) overload

Source

fn set_kind(self, kind: impl Into<ItemData_Kinds>)

SetKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn set_to_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds

SetToPrevKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn set_to_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds

SetToNextKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn is_first_kind(self, kind: impl Into<ItemData_Kinds>) -> bool

IsFirstKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn is_last_kind(self, kind: impl Into<ItemData_Kinds>) -> bool

IsLastKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn enable_item_kind( self, kind: impl Into<ItemData_Kinds>, enabled: impl Into<bool>, )

EnableItemKind(crate::app::itemdata::ItemData_Kinds, bool) overload

Source

fn update_get_kind_count(self)

UpdateGetKindCount() overload

Source

fn get_kind_count(self) -> i32

GetKindCount() overload

Source

fn ctor(self)

.ctor() 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: IWeaponShopBuyMenuContent> IWeaponShopBuyMenuContentMethods for __T

Available on crate feature app-weaponshopbuymenucontent only.