Skip to main content

IEncountMobMethods

Trait IEncountMobMethods 

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

Source

fn ctor(self)

.ctor() overload

Source

fn dump(self) -> Il2CppString

Dump() overload

Source

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

Source

fn decide_encount_rare( self, spot_id: impl Into<Il2CppString>, ) -> (bool, EncountUnitData_RareType, i32)

DecideEncountRare(::unity::Il2CppString, *mutcrate::app::encountunitdata::EncountUnitData_RareType, *muti32) overload

Source

fn decide_enemy_type( self, nation_name: impl Into<Il2CppString>, ) -> EncountUnitData_RareType

DecideEnemyType(::unity::Il2CppString) overload

Source

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

Source

fn get_enemy_rate_avarage( self, rare_type: impl Into<EncountUnitData_RareType>, ) -> i32

GetEnemyRateAvarage(crate::app::encountunitdata::EncountUnitData_RareType) overload

Source

fn decide_enemy_num(self, nation_level: impl Into<i32>) -> i32

DecideEnemyNum(i32) overload

Source

fn clear(self)

Clear() overload

Source

fn set_random_encount_job(self, ejid: impl Into<Il2CppString>)

SetRandomEncountJob(::unity::Il2CppString) overload

Source

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

Source

fn get_leader_job(self) -> JobData

GetLeaderJob() overload

Source

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

Source

fn get_leader_person( self, unit_rare_type: impl Into<EncountUnitData_RareType>, ) -> PersonData

GetLeaderPerson(crate::app::encountunitdata::EncountUnitData_RareType) overload

Source

fn get_icon_person(self) -> PersonData

GetIconPerson() overload

Source

fn get_rare_count(self) -> i32

GetRareCount() overload

Source

fn serialize(self, stream: impl Into<Stream_2>)

Serialize(crate::app::stream_2::Stream_2) overload

Source

fn deserialize(self, stream: impl Into<Stream_2>)

Deserialize(crate::app::stream_2::Stream_2) overload

Source

fn correct(self)

Correct() overload

Source

fn get_rank(self) -> i32

get_Rank() overload

Source

fn set_rank(self, value: impl Into<i32>)

set_Rank(i32) overload

Source

fn get_leader_rank(self) -> i32

get_LeaderRank() overload

Source

fn get_cycle(self) -> i32

get_Cycle() overload

Source

fn set_cycle(self, value: impl Into<i32>)

set_Cycle(i32) overload

Source

fn get_player_dispos(self) -> i32

get_PlayerDispos() overload

Source

fn set_player_dispos(self, value: impl Into<i32>)

set_PlayerDispos(i32) overload

Source

fn get_enemy_dispos(self) -> i32

get_EnemyDispos() overload

Source

fn set_enemy_dispos(self, value: impl Into<i32>)

set_EnemyDispos(i32) overload

Source

fn get_seed(self) -> RandomSeed

get_Seed() overload

Source

fn get_rare_type(self) -> EncountUnitData_RareType

get_RareType() overload

Source

fn set_exp_rare_count(self, value: impl Into<i32>)

set_ExpRareCount(i32) overload

Source

fn set_gold_rare_count(self, value: impl Into<i32>)

set_GoldRareCount(i32) overload

Source

fn get_leader_gender(self) -> Gender

get_LeaderGender() overload

Source

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§

Source§

impl<__T: IEncountMob> IEncountMobMethods for __T

Available on crate feature app-encountmob only.