pub trait IHubNationDataMethods: IHubNationData {
Show 35 methods
// Provided methods
fn get_id(self) -> Il2CppString { ... }
fn set_id(self, value: impl Into<Il2CppString>) { ... }
fn get_name(self) -> Il2CppString { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn get_chapter(self) -> Il2CppString { ... }
fn set_chapter(self, value: impl Into<Il2CppString>) { ... }
fn get_symbol_texture(self) -> Il2CppString { ... }
fn set_symbol_texture(self, value: impl Into<Il2CppString>) { ... }
fn get_level_info(self) -> Il2CppString { ... }
fn set_level_info(self, value: impl Into<Il2CppString>) { ... }
fn get_foodstuff_info(self) -> Il2CppString { ... }
fn set_foodstuff_info(self, value: impl Into<Il2CppString>) { ... }
fn get_animal_info(self) -> Il2CppString { ... }
fn set_animal_info(self, value: impl Into<Il2CppString>) { ... }
fn get_is_not_level(self) -> bool { ... }
fn set_is_not_level(self, value: impl Into<bool>) { ... }
fn is_investment_enable(self) -> bool { ... }
fn get_investment_total(self) -> i32 { ... }
fn add_investment_total(self, add: impl Into<i32>) { ... }
fn get_level_average(self) -> i32 { ... }
fn get_level_data(self, level: impl Into<i32>) -> HubInvestmentLevel { ... }
fn get_current_level_data(self) -> HubInvestmentLevel { ... }
fn get_current_level_data_2(
self,
total_use_cost: impl Into<i32>,
) -> HubInvestmentLevel { ... }
fn get_next_level_data(self) -> HubInvestmentLevel { ... }
fn get_next_level_data_2(
self,
total_use_cost: impl Into<i32>,
) -> HubInvestmentLevel { ... }
fn get_next_cost(self) -> i32 { ... }
fn get_next_cost_2(self, total_use_cost: impl Into<i32>) -> i32 { ... }
fn get_current_level(self) -> i32 { ... }
fn get_current_level_2(self, total_use_cost: impl Into<i32>) -> i32 { ... }
fn is_level_max(self) -> bool { ... }
fn is_level_max_2(self, total_use_cost: impl Into<i32>) -> bool { ... }
fn get_foodstuff_num(self, iid: impl Into<Il2CppString>) -> i32 { ... }
fn get_animal_appear_rate(self, anid: impl Into<Il2CppString>) -> u8 { ... }
fn is_capture_animal(self, anid: impl Into<Il2CppString>) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_id(self) -> Il2CppString
fn get_id(self) -> Il2CppString
get_ID() overload
Sourcefn set_id(self, value: impl Into<Il2CppString>)
fn set_id(self, value: impl Into<Il2CppString>)
set_ID(::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_chapter(self) -> Il2CppString
fn get_chapter(self) -> Il2CppString
get_Chapter() overload
Sourcefn set_chapter(self, value: impl Into<Il2CppString>)
fn set_chapter(self, value: impl Into<Il2CppString>)
set_Chapter(::unity::Il2CppString) overload
Sourcefn get_symbol_texture(self) -> Il2CppString
fn get_symbol_texture(self) -> Il2CppString
get_SymbolTexture() overload
Sourcefn set_symbol_texture(self, value: impl Into<Il2CppString>)
fn set_symbol_texture(self, value: impl Into<Il2CppString>)
set_SymbolTexture(::unity::Il2CppString) overload
Sourcefn get_level_info(self) -> Il2CppString
fn get_level_info(self) -> Il2CppString
get_LevelInfo() overload
Sourcefn set_level_info(self, value: impl Into<Il2CppString>)
fn set_level_info(self, value: impl Into<Il2CppString>)
set_LevelInfo(::unity::Il2CppString) overload
Sourcefn get_foodstuff_info(self) -> Il2CppString
fn get_foodstuff_info(self) -> Il2CppString
get_FoodstuffInfo() overload
Sourcefn set_foodstuff_info(self, value: impl Into<Il2CppString>)
fn set_foodstuff_info(self, value: impl Into<Il2CppString>)
set_FoodstuffInfo(::unity::Il2CppString) overload
Sourcefn get_animal_info(self) -> Il2CppString
fn get_animal_info(self) -> Il2CppString
get_AnimalInfo() overload
Sourcefn set_animal_info(self, value: impl Into<Il2CppString>)
fn set_animal_info(self, value: impl Into<Il2CppString>)
set_AnimalInfo(::unity::Il2CppString) overload
Sourcefn get_is_not_level(self) -> bool
fn get_is_not_level(self) -> bool
get_IsNotLevel() overload
Sourcefn set_is_not_level(self, value: impl Into<bool>)
fn set_is_not_level(self, value: impl Into<bool>)
set_IsNotLevel(bool) overload
Sourcefn is_investment_enable(self) -> bool
fn is_investment_enable(self) -> bool
IsInvestmentEnable() overload
Sourcefn get_investment_total(self) -> i32
fn get_investment_total(self) -> i32
GetInvestmentTotal() overload
Sourcefn add_investment_total(self, add: impl Into<i32>)
fn add_investment_total(self, add: impl Into<i32>)
AddInvestmentTotal(i32) overload
Sourcefn get_level_average(self) -> i32
fn get_level_average(self) -> i32
GetLevelAverage() overload
Sourcefn get_level_data(self, level: impl Into<i32>) -> HubInvestmentLevel
fn get_level_data(self, level: impl Into<i32>) -> HubInvestmentLevel
GetLevelData(i32) overload
Sourcefn get_current_level_data(self) -> HubInvestmentLevel
fn get_current_level_data(self) -> HubInvestmentLevel
GetCurrentLevelData() overload
Sourcefn get_current_level_data_2(
self,
total_use_cost: impl Into<i32>,
) -> HubInvestmentLevel
fn get_current_level_data_2( self, total_use_cost: impl Into<i32>, ) -> HubInvestmentLevel
GetCurrentLevelData(i32) overload
Sourcefn get_next_level_data(self) -> HubInvestmentLevel
fn get_next_level_data(self) -> HubInvestmentLevel
GetNextLevelData() overload
Sourcefn get_next_level_data_2(
self,
total_use_cost: impl Into<i32>,
) -> HubInvestmentLevel
fn get_next_level_data_2( self, total_use_cost: impl Into<i32>, ) -> HubInvestmentLevel
GetNextLevelData(i32) overload
Sourcefn get_next_cost(self) -> i32
fn get_next_cost(self) -> i32
GetNextCost() overload
Sourcefn get_next_cost_2(self, total_use_cost: impl Into<i32>) -> i32
fn get_next_cost_2(self, total_use_cost: impl Into<i32>) -> i32
GetNextCost(i32) overload
Sourcefn get_current_level(self) -> i32
fn get_current_level(self) -> i32
GetCurrentLevel() overload
Sourcefn get_current_level_2(self, total_use_cost: impl Into<i32>) -> i32
fn get_current_level_2(self, total_use_cost: impl Into<i32>) -> i32
GetCurrentLevel(i32) overload
Sourcefn is_level_max(self) -> bool
fn is_level_max(self) -> bool
IsLevelMax() overload
Sourcefn is_level_max_2(self, total_use_cost: impl Into<i32>) -> bool
fn is_level_max_2(self, total_use_cost: impl Into<i32>) -> bool
IsLevelMax(i32) overload
Sourcefn get_foodstuff_num(self, iid: impl Into<Il2CppString>) -> i32
fn get_foodstuff_num(self, iid: impl Into<Il2CppString>) -> i32
GetFoodstuffNum(::unity::Il2CppString) overload
Sourcefn get_animal_appear_rate(self, anid: impl Into<Il2CppString>) -> u8
fn get_animal_appear_rate(self, anid: impl Into<Il2CppString>) -> u8
GetAnimalAppearRate(::unity::Il2CppString) overload
Sourcefn is_capture_animal(self, anid: impl Into<Il2CppString>) -> bool
fn is_capture_animal(self, anid: impl Into<Il2CppString>) -> bool
IsCaptureAnimal(::unity::Il2CppString) 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: IHubNationData> IHubNationDataMethods for __T
app-hubnationdata only.