Skip to main content

IHubNationDataMethods

Trait IHubNationDataMethods 

Source
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§

Source

fn get_id(self) -> Il2CppString

get_ID() overload

Source

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

set_ID(::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_chapter(self) -> Il2CppString

get_Chapter() overload

Source

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

set_Chapter(::unity::Il2CppString) overload

Source

fn get_symbol_texture(self) -> Il2CppString

get_SymbolTexture() overload

Source

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

set_SymbolTexture(::unity::Il2CppString) overload

Source

fn get_level_info(self) -> Il2CppString

get_LevelInfo() overload

Source

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

set_LevelInfo(::unity::Il2CppString) overload

Source

fn get_foodstuff_info(self) -> Il2CppString

get_FoodstuffInfo() overload

Source

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

set_FoodstuffInfo(::unity::Il2CppString) overload

Source

fn get_animal_info(self) -> Il2CppString

get_AnimalInfo() overload

Source

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

set_AnimalInfo(::unity::Il2CppString) overload

Source

fn get_is_not_level(self) -> bool

get_IsNotLevel() overload

Source

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

set_IsNotLevel(bool) overload

Source

fn is_investment_enable(self) -> bool

IsInvestmentEnable() overload

Source

fn get_investment_total(self) -> i32

GetInvestmentTotal() overload

Source

fn add_investment_total(self, add: impl Into<i32>)

AddInvestmentTotal(i32) overload

Source

fn get_level_average(self) -> i32

GetLevelAverage() overload

Source

fn get_level_data(self, level: impl Into<i32>) -> HubInvestmentLevel

GetLevelData(i32) overload

Source

fn get_current_level_data(self) -> HubInvestmentLevel

GetCurrentLevelData() overload

Source

fn get_current_level_data_2( self, total_use_cost: impl Into<i32>, ) -> HubInvestmentLevel

GetCurrentLevelData(i32) overload

Source

fn get_next_level_data(self) -> HubInvestmentLevel

GetNextLevelData() overload

Source

fn get_next_level_data_2( self, total_use_cost: impl Into<i32>, ) -> HubInvestmentLevel

GetNextLevelData(i32) overload

Source

fn get_next_cost(self) -> i32

GetNextCost() overload

Source

fn get_next_cost_2(self, total_use_cost: impl Into<i32>) -> i32

GetNextCost(i32) overload

Source

fn get_current_level(self) -> i32

GetCurrentLevel() overload

Source

fn get_current_level_2(self, total_use_cost: impl Into<i32>) -> i32

GetCurrentLevel(i32) overload

Source

fn is_level_max(self) -> bool

IsLevelMax() overload

Source

fn is_level_max_2(self, total_use_cost: impl Into<i32>) -> bool

IsLevelMax(i32) overload

Source

fn get_foodstuff_num(self, iid: impl Into<Il2CppString>) -> i32

GetFoodstuffNum(::unity::Il2CppString) overload

Source

fn get_animal_appear_rate(self, anid: impl Into<Il2CppString>) -> u8

GetAnimalAppearRate(::unity::Il2CppString) overload

Source

fn is_capture_animal(self, anid: impl Into<Il2CppString>) -> bool

IsCaptureAnimal(::unity::Il2CppString) 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: IHubNationData> IHubNationDataMethods for __T

Available on crate feature app-hubnationdata only.