Skip to main content

IDishMethods

Trait IDishMethods 

Source
pub trait IDishMethods: IDish {
Show 22 methods // Provided methods fn get_name(self) -> Il2CppString { ... } fn get_enhance(self) -> UnitEnhanceValues { ... } fn set_enhance(self, value: impl Into<UnitEnhanceValues>) { ... } fn get_bonus_enhance(self) -> UnitEnhanceValues { ... } fn set_bonus_enhance(self, value: impl Into<UnitEnhanceValues>) { ... } fn get_total_bonus_enhance(self) -> UnitEnhanceValues { ... } fn set_total_bonus_enhance(self, value: impl Into<UnitEnhanceValues>) { ... } fn get_raise_reliance(self) -> bool { ... } fn set_raise_reliance(self, value: impl Into<bool>) { ... } fn get_taste(self) -> TasteData { ... } fn set_taste(self, value: impl Into<TasteData>) { ... } fn ctor( self, unit: impl Into<Unit>, food_data: impl Into<FoodData>, taste_data: impl Into<TasteData>, raise_reliance: impl Into<bool>, ) { ... } fn get_food(self) -> FoodData { ... } fn get_food_name(self) -> Il2CppString { ... } fn apply_enhance(self, unit: impl Into<Unit>) { ... } fn apply_reliance( self, hero_unit: impl Into<Unit>, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>, type: impl Into<Cooking_ConversationType>, ) -> Dish_RelianceResult { ... } fn calculate_reliance_rise_value( self, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>, type: impl Into<Cooking_ConversationType>, ) -> i32 { ... } fn make_bento(self) -> UnitItem { ... } fn set_enhance_2( self, food_data: impl Into<FoodData>, taste_data: impl Into<TasteData>, ) { ... } fn calculate_enhance( self, enhance: impl Into<CapabilitySbyte>, taste_data: impl Into<TasteData>, ) -> UnitEnhanceValues { ... } fn get_liking(self, unit: impl Into<Unit>) -> Dish_Liking { ... } fn get_cond_description(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_enhance(self) -> UnitEnhanceValues

get_Enhance() overload

Source

fn set_enhance(self, value: impl Into<UnitEnhanceValues>)

set_Enhance(crate::app::unitenhancevalues::UnitEnhanceValues) overload

Source

fn get_bonus_enhance(self) -> UnitEnhanceValues

get_BonusEnhance() overload

Source

fn set_bonus_enhance(self, value: impl Into<UnitEnhanceValues>)

set_BonusEnhance(crate::app::unitenhancevalues::UnitEnhanceValues) overload

Source

fn get_total_bonus_enhance(self) -> UnitEnhanceValues

get_TotalBonusEnhance() overload

Source

fn set_total_bonus_enhance(self, value: impl Into<UnitEnhanceValues>)

set_TotalBonusEnhance(crate::app::unitenhancevalues::UnitEnhanceValues) overload

Source

fn get_raise_reliance(self) -> bool

get_RaiseReliance() overload

Source

fn set_raise_reliance(self, value: impl Into<bool>)

set_RaiseReliance(bool) overload

Source

fn get_taste(self) -> TasteData

get_Taste() overload

Source

fn set_taste(self, value: impl Into<TasteData>)

set_Taste(crate::app::tastedata::TasteData) overload

Source

fn ctor( self, unit: impl Into<Unit>, food_data: impl Into<FoodData>, taste_data: impl Into<TasteData>, raise_reliance: impl Into<bool>, )

.ctor(crate::app::unit::Unit, crate::app::fooddata::FoodData, crate::app::tastedata::TasteData, bool) overload

Source

fn get_food(self) -> FoodData

get_Food() overload

Source

fn get_food_name(self) -> Il2CppString

GetFoodName() overload

Source

fn apply_enhance(self, unit: impl Into<Unit>)

ApplyEnhance(crate::app::unit::Unit) overload

Source

fn apply_reliance( self, hero_unit: impl Into<Unit>, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>, type: impl Into<Cooking_ConversationType>, ) -> Dish_RelianceResult

ApplyReliance(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::unit::Unit, crate::app::cooking::Cooking_ConversationType) overload

Source

fn calculate_reliance_rise_value( self, unit_a: impl Into<Unit>, unit_b: impl Into<Unit>, type: impl Into<Cooking_ConversationType>, ) -> i32

CalculateRelianceRiseValue(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::cooking::Cooking_ConversationType) overload

Source

fn make_bento(self) -> UnitItem

MakeBento() overload

Source

fn set_enhance_2( self, food_data: impl Into<FoodData>, taste_data: impl Into<TasteData>, )

SetEnhance(crate::app::fooddata::FoodData, crate::app::tastedata::TasteData) overload

Source

fn calculate_enhance( self, enhance: impl Into<CapabilitySbyte>, taste_data: impl Into<TasteData>, ) -> UnitEnhanceValues

CalculateEnhance(crate::app::capabilitysbyte::CapabilitySbyte, crate::app::tastedata::TasteData) overload

Source

fn get_liking(self, unit: impl Into<Unit>) -> Dish_Liking

GetLiking(crate::app::unit::Unit) overload

Source

fn get_cond_description(self) -> Il2CppString

GetCondDescription() 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: IDish> IDishMethods for __T

Available on crate feature app-dish only.