Skip to main content

IFoodstuffDataMethods

Trait IFoodstuffDataMethods 

Source
pub trait IFoodstuffDataMethods: IFoodstuffData {
Show 19 methods // Provided methods fn get_iid(self) -> Il2CppString { ... } fn set_iid(self, value: impl Into<Il2CppString>) { ... } fn get_name(self) -> Il2CppString { ... } fn set_name(self, value: impl Into<Il2CppString>) { ... } fn get_flag(self) -> FoodstuffData_FlagField { ... } fn set_flag(self, value: impl Into<FoodstuffData_FlagField>) { ... } fn get_category(self) -> Il2CppString { ... } fn set_category(self, value: impl Into<Il2CppString>) { ... } fn get_debug_name(self) -> Il2CppString { ... } fn is_category(self) -> bool { ... } fn can_add_to_anything(self) -> bool { ... } fn is_not_affect(self) -> bool { ... } fn is_raise_reliance(self) -> bool { ... } fn is_rare(self) -> bool { ... } fn get_icon_name(self) -> Il2CppString { ... } fn add_inventory(self) { ... } fn sub_inventory(self) { ... } fn get_count_inventory(self) -> i32 { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_iid(self) -> Il2CppString

get_Iid() overload

Source

fn set_iid(self, value: impl Into<Il2CppString>)

set_Iid(::unity::Il2CppString) overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_Name(::unity::Il2CppString) overload

Source

fn get_flag(self) -> FoodstuffData_FlagField

get_Flag() overload

Source

fn set_flag(self, value: impl Into<FoodstuffData_FlagField>)

set_Flag(crate::app::foodstuffdata::FoodstuffData_FlagField) overload

Source

fn get_category(self) -> Il2CppString

get_Category() overload

Source

fn set_category(self, value: impl Into<Il2CppString>)

set_Category(::unity::Il2CppString) overload

Source

fn get_debug_name(self) -> Il2CppString

GetDebugName() overload

Source

fn is_category(self) -> bool

IsCategory() overload

Source

fn can_add_to_anything(self) -> bool

CanAddToAnything() overload

Source

fn is_not_affect(self) -> bool

IsNotAffect() overload

Source

fn is_raise_reliance(self) -> bool

IsRaiseReliance() overload

Source

fn is_rare(self) -> bool

IsRare() overload

Source

fn get_icon_name(self) -> Il2CppString

GetIconName() overload

Source

fn add_inventory(self)

AddInventory() overload

Source

fn sub_inventory(self)

SubInventory() overload

Source

fn get_count_inventory(self) -> i32

GetCountInventory() 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: IFoodstuffData> IFoodstuffDataMethods for __T

Available on crate feature app-foodstuffdata only.