Skip to main content

IInvestmentMenu_InvestmentMenuItemMethods

Trait IInvestmentMenu_InvestmentMenuItemMethods 

Source
pub trait IInvestmentMenu_InvestmentMenuItemMethods: IInvestmentMenu_InvestmentMenuItem {
    // Provided methods
    fn ctor(self, index: impl Into<i32>) { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn on_select(self) { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
    fn x_call(self) -> BasicMenu_Result { ... }
    fn get_nation_data(self) -> HubNationData { ... }
    fn get_next_cost(self) -> i32 { ... }
    fn add(self, add_cost: impl Into<i32>) { ... }
}

Provided Methods§

Source

fn ctor(self, index: impl Into<i32>)

.ctor(i32) overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn x_call(self) -> BasicMenu_Result

XCall() overload

Source

fn get_nation_data(self) -> HubNationData

GetNationData() overload

Source

fn get_next_cost(self) -> i32

GetNextCost() overload

Source

fn add(self, add_cost: impl Into<i32>)

Add(i32) 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: IInvestmentMenu_InvestmentMenuItem> IInvestmentMenu_InvestmentMenuItemMethods for __T

Available on crate feature app-investmentmenu only.