pub trait IEncountMobMethods: IEncountMob {
Show 34 methods
// Provided methods
fn ctor(self) { ... }
fn dump(self) -> Il2CppString { ... }
fn appear(
self,
type: impl Into<GmapSpot_EncountPersonType>,
rank: impl Into<i32>,
ejid: impl Into<Il2CppString>,
spot_id: impl Into<Il2CppString>,
) { ... }
fn decide_encount_rare(
self,
spot_id: impl Into<Il2CppString>,
) -> (bool, EncountUnitData_RareType, i32) { ... }
fn decide_enemy_type(
self,
nation_name: impl Into<Il2CppString>,
) -> EncountUnitData_RareType { ... }
fn get_enemy_rate(
self,
nation_name: impl Into<Il2CppString>,
rare_type: impl Into<EncountUnitData_RareType>,
) -> i32 { ... }
fn get_enemy_rate_avarage(
self,
rare_type: impl Into<EncountUnitData_RareType>,
) -> i32 { ... }
fn decide_enemy_num(self, nation_level: impl Into<i32>) -> i32 { ... }
fn clear(self) { ... }
fn set_random_encount_job(self, ejid: impl Into<Il2CppString>) { ... }
fn get_encount_job(
self,
random: impl Into<Random_2>,
level: impl Into<i32>,
is_leader: impl Into<bool>,
is_ignore_mage_cannon: impl Into<bool>,
) -> JobData { ... }
fn get_leader_job(self) -> JobData { ... }
fn get_encount_person(
self,
random: impl Into<Random_2>,
job: impl Into<JobData>,
unit_rare_type: impl Into<EncountUnitData_RareType>,
) -> PersonData { ... }
fn get_leader_person(
self,
unit_rare_type: impl Into<EncountUnitData_RareType>,
) -> PersonData { ... }
fn get_icon_person(self) -> PersonData { ... }
fn get_rare_count(self) -> i32 { ... }
fn serialize(self, stream: impl Into<Stream_2>) { ... }
fn deserialize(self, stream: impl Into<Stream_2>) { ... }
fn correct(self) { ... }
fn get_rank(self) -> i32 { ... }
fn set_rank(self, value: impl Into<i32>) { ... }
fn get_leader_rank(self) -> i32 { ... }
fn get_cycle(self) -> i32 { ... }
fn set_cycle(self, value: impl Into<i32>) { ... }
fn get_player_dispos(self) -> i32 { ... }
fn set_player_dispos(self, value: impl Into<i32>) { ... }
fn get_enemy_dispos(self) -> i32 { ... }
fn set_enemy_dispos(self, value: impl Into<i32>) { ... }
fn get_seed(self) -> RandomSeed { ... }
fn get_rare_type(self) -> EncountUnitData_RareType { ... }
fn set_exp_rare_count(self, value: impl Into<i32>) { ... }
fn set_gold_rare_count(self, value: impl Into<i32>) { ... }
fn get_leader_gender(self) -> Gender { ... }
fn set_leader_gender(self, value: impl Into<Gender>) { ... }
}Provided Methods§
Sourcefn dump(self) -> Il2CppString
fn dump(self) -> Il2CppString
Dump() overload
Sourcefn appear(
self,
type: impl Into<GmapSpot_EncountPersonType>,
rank: impl Into<i32>,
ejid: impl Into<Il2CppString>,
spot_id: impl Into<Il2CppString>,
)
fn appear( self, type: impl Into<GmapSpot_EncountPersonType>, rank: impl Into<i32>, ejid: impl Into<Il2CppString>, spot_id: impl Into<Il2CppString>, )
Appear(crate::app::gmapspot::GmapSpot_EncountPersonType, i32, ::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn decide_encount_rare(
self,
spot_id: impl Into<Il2CppString>,
) -> (bool, EncountUnitData_RareType, i32)
fn decide_encount_rare( self, spot_id: impl Into<Il2CppString>, ) -> (bool, EncountUnitData_RareType, i32)
DecideEncountRare(::unity::Il2CppString, *mutcrate::app::encountunitdata::EncountUnitData_RareType, *muti32) overload
Sourcefn decide_enemy_type(
self,
nation_name: impl Into<Il2CppString>,
) -> EncountUnitData_RareType
fn decide_enemy_type( self, nation_name: impl Into<Il2CppString>, ) -> EncountUnitData_RareType
DecideEnemyType(::unity::Il2CppString) overload
Sourcefn get_enemy_rate(
self,
nation_name: impl Into<Il2CppString>,
rare_type: impl Into<EncountUnitData_RareType>,
) -> i32
fn get_enemy_rate( self, nation_name: impl Into<Il2CppString>, rare_type: impl Into<EncountUnitData_RareType>, ) -> i32
GetEnemyRate(::unity::Il2CppString, crate::app::encountunitdata::EncountUnitData_RareType) overload
Sourcefn get_enemy_rate_avarage(
self,
rare_type: impl Into<EncountUnitData_RareType>,
) -> i32
fn get_enemy_rate_avarage( self, rare_type: impl Into<EncountUnitData_RareType>, ) -> i32
GetEnemyRateAvarage(crate::app::encountunitdata::EncountUnitData_RareType) overload
Sourcefn decide_enemy_num(self, nation_level: impl Into<i32>) -> i32
fn decide_enemy_num(self, nation_level: impl Into<i32>) -> i32
DecideEnemyNum(i32) overload
Sourcefn set_random_encount_job(self, ejid: impl Into<Il2CppString>)
fn set_random_encount_job(self, ejid: impl Into<Il2CppString>)
SetRandomEncountJob(::unity::Il2CppString) overload
Sourcefn get_encount_job(
self,
random: impl Into<Random_2>,
level: impl Into<i32>,
is_leader: impl Into<bool>,
is_ignore_mage_cannon: impl Into<bool>,
) -> JobData
fn get_encount_job( self, random: impl Into<Random_2>, level: impl Into<i32>, is_leader: impl Into<bool>, is_ignore_mage_cannon: impl Into<bool>, ) -> JobData
GetEncountJob(crate::app::random_2::Random_2, i32, bool, bool) overload
Sourcefn get_leader_job(self) -> JobData
fn get_leader_job(self) -> JobData
GetLeaderJob() overload
Sourcefn get_encount_person(
self,
random: impl Into<Random_2>,
job: impl Into<JobData>,
unit_rare_type: impl Into<EncountUnitData_RareType>,
) -> PersonData
fn get_encount_person( self, random: impl Into<Random_2>, job: impl Into<JobData>, unit_rare_type: impl Into<EncountUnitData_RareType>, ) -> PersonData
GetEncountPerson(crate::app::random_2::Random_2, crate::app::jobdata::JobData, crate::app::encountunitdata::EncountUnitData_RareType) overload
Sourcefn get_leader_person(
self,
unit_rare_type: impl Into<EncountUnitData_RareType>,
) -> PersonData
fn get_leader_person( self, unit_rare_type: impl Into<EncountUnitData_RareType>, ) -> PersonData
GetLeaderPerson(crate::app::encountunitdata::EncountUnitData_RareType) overload
Sourcefn get_icon_person(self) -> PersonData
fn get_icon_person(self) -> PersonData
GetIconPerson() overload
Sourcefn get_rare_count(self) -> i32
fn get_rare_count(self) -> i32
GetRareCount() overload
Sourcefn serialize(self, stream: impl Into<Stream_2>)
fn serialize(self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize(self, stream: impl Into<Stream_2>)
fn deserialize(self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) overload
Sourcefn get_leader_rank(self) -> i32
fn get_leader_rank(self) -> i32
get_LeaderRank() overload
Sourcefn get_player_dispos(self) -> i32
fn get_player_dispos(self) -> i32
get_PlayerDispos() overload
Sourcefn set_player_dispos(self, value: impl Into<i32>)
fn set_player_dispos(self, value: impl Into<i32>)
set_PlayerDispos(i32) overload
Sourcefn get_enemy_dispos(self) -> i32
fn get_enemy_dispos(self) -> i32
get_EnemyDispos() overload
Sourcefn set_enemy_dispos(self, value: impl Into<i32>)
fn set_enemy_dispos(self, value: impl Into<i32>)
set_EnemyDispos(i32) overload
Sourcefn get_seed(self) -> RandomSeed
fn get_seed(self) -> RandomSeed
get_Seed() overload
Sourcefn get_rare_type(self) -> EncountUnitData_RareType
fn get_rare_type(self) -> EncountUnitData_RareType
get_RareType() overload
Sourcefn set_exp_rare_count(self, value: impl Into<i32>)
fn set_exp_rare_count(self, value: impl Into<i32>)
set_ExpRareCount(i32) overload
Sourcefn set_gold_rare_count(self, value: impl Into<i32>)
fn set_gold_rare_count(self, value: impl Into<i32>)
set_GoldRareCount(i32) overload
Sourcefn get_leader_gender(self) -> Gender
fn get_leader_gender(self) -> Gender
get_LeaderGender() overload
Sourcefn set_leader_gender(self, value: impl Into<Gender>)
fn set_leader_gender(self, value: impl Into<Gender>)
set_LeaderGender(crate::app::gender::Gender) 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: IEncountMob> IEncountMobMethods for __T
app-encountmob only.