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§
Sourcefn get_iid(self) -> Il2CppString
fn get_iid(self) -> Il2CppString
get_Iid() overload
Sourcefn set_iid(self, value: impl Into<Il2CppString>)
fn set_iid(self, value: impl Into<Il2CppString>)
set_Iid(::unity::Il2CppString) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_flag(self) -> FoodstuffData_FlagField
fn get_flag(self) -> FoodstuffData_FlagField
get_Flag() overload
Sourcefn set_flag(self, value: impl Into<FoodstuffData_FlagField>)
fn set_flag(self, value: impl Into<FoodstuffData_FlagField>)
set_Flag(crate::app::foodstuffdata::FoodstuffData_FlagField) overload
Sourcefn get_category(self) -> Il2CppString
fn get_category(self) -> Il2CppString
get_Category() overload
Sourcefn set_category(self, value: impl Into<Il2CppString>)
fn set_category(self, value: impl Into<Il2CppString>)
set_Category(::unity::Il2CppString) overload
Sourcefn get_debug_name(self) -> Il2CppString
fn get_debug_name(self) -> Il2CppString
GetDebugName() overload
Sourcefn is_category(self) -> bool
fn is_category(self) -> bool
IsCategory() overload
Sourcefn can_add_to_anything(self) -> bool
fn can_add_to_anything(self) -> bool
CanAddToAnything() overload
Sourcefn is_not_affect(self) -> bool
fn is_not_affect(self) -> bool
IsNotAffect() overload
Sourcefn is_raise_reliance(self) -> bool
fn is_raise_reliance(self) -> bool
IsRaiseReliance() overload
Sourcefn get_icon_name(self) -> Il2CppString
fn get_icon_name(self) -> Il2CppString
GetIconName() overload
Sourcefn add_inventory(self)
fn add_inventory(self)
AddInventory() overload
Sourcefn sub_inventory(self)
fn sub_inventory(self)
SubInventory() overload
Sourcefn get_count_inventory(self) -> i32
fn get_count_inventory(self) -> i32
GetCountInventory() 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§
impl<__T: IFoodstuffData> IFoodstuffDataMethods for __T
Available on crate feature
app-foodstuffdata only.