Skip to main content

IDishSelectFoodInfoContentMethods

Trait IDishSelectFoodInfoContentMethods 

Source
pub trait IDishSelectFoodInfoContentMethods: IDishSelectFoodInfoContent {
    // Provided methods
    fn awake(self) { ... }
    fn set_food(
        self,
        food: impl Into<FoodData>,
        selected_unit_list: impl Into<List_1<Unit>>,
    ) { ... }
    fn set_difficulty(self, food: impl Into<FoodData>) { ... }
    fn set_enhance(
        self,
        enhance_object: impl Into<DishSelectFoodInfoContent_EnhanceObject>,
        value: impl Into<i32>,
    ) { ... }
    fn set_foodstuffs(self, fids: impl Into<Array<Il2CppString>>) { ... }
    fn set_unit(
        self,
        food: impl Into<FoodData>,
        cook: impl Into<CookData>,
        unit: impl Into<Unit>,
        unit_object: impl Into<DishSelectFoodInfoContent_UnitObject>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn set_food( self, food: impl Into<FoodData>, selected_unit_list: impl Into<List_1<Unit>>, )

SetFood(crate::app::fooddata::FoodData, crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>) overload

Source

fn set_difficulty(self, food: impl Into<FoodData>)

SetDifficulty(crate::app::fooddata::FoodData) overload

Source

fn set_enhance( self, enhance_object: impl Into<DishSelectFoodInfoContent_EnhanceObject>, value: impl Into<i32>, )

SetEnhance(crate::app::cooking_menu::dishselectfoodinfocontent::DishSelectFoodInfoContent_EnhanceObject, i32) overload

Source

fn set_foodstuffs(self, fids: impl Into<Array<Il2CppString>>)

SetFoodstuffs(::unity::Array<::unity::Il2CppString>) overload

Source

fn set_unit( self, food: impl Into<FoodData>, cook: impl Into<CookData>, unit: impl Into<Unit>, unit_object: impl Into<DishSelectFoodInfoContent_UnitObject>, )

SetUnit(crate::app::fooddata::FoodData, crate::app::cookdata::CookData, crate::app::unit::Unit, crate::app::cooking_menu::dishselectfoodinfocontent::DishSelectFoodInfoContent_UnitObject) 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: IDishSelectFoodInfoContent> IDishSelectFoodInfoContentMethods for __T

Available on crate feature app-cooking_menu-dishselectfoodinfocontent only.