pub trait IUnitAIMethods: IUnitAI {
Show 61 methods
// Provided methods
fn get_band(self) -> i32 { ... }
fn set_band(self, value: impl Into<i32>) { ... }
fn get_active(self) -> i32 { ... }
fn set_active(self, value: impl Into<i32>) { ... }
fn get_priority(self) -> i32 { ... }
fn set_priority(self, value: impl Into<i32>) { ... }
fn get_heal_rate_a(self) -> i32 { ... }
fn set_heal_rate_a(self, value: impl Into<i32>) { ... }
fn get_heal_rate_b(self) -> i32 { ... }
fn set_heal_rate_b(self, value: impl Into<i32>) { ... }
fn get_battle_rate_type(self) -> UnitAI_BattleRate { ... }
fn set_battle_rate_type(self, value: impl Into<UnitAI_BattleRate>) { ... }
fn get_prohibit_engage_attack(self) -> i32 { ... }
fn set_prohibit_engage_attack(self, value: impl Into<i32>) { ... }
fn get_prohibit_rod(self) -> i32 { ... }
fn set_prohibit_rod(self, value: impl Into<i32>) { ... }
fn get_prohibit_overlap(self) -> i32 { ... }
fn set_prohibit_overlap(self, value: impl Into<i32>) { ... }
fn get_rerewarp_count(self) -> i32 { ... }
fn set_rerewarp_count(self, value: impl Into<i32>) { ... }
fn get_rerewarp_count_max(self) -> i32 { ... }
fn get_rerewarp_last_x(self) -> i32 { ... }
fn get_rerewarp_last_z(self) -> i32 { ... }
fn get_rerewarp_event_flag(self) -> Il2CppString { ... }
fn get_move_limit(self) -> UnitAI_MoveLimitRange { ... }
fn set_move_limit(self, value: impl Into<UnitAI_MoveLimitRange>) { ... }
fn get_versus_type(self) -> UnitAI_VersusTypes { ... }
fn set_versus_type(self, value: impl Into<UnitAI_VersusTypes>) { ... }
fn get_bullet_pattern(self) -> i32 { ... }
fn set_bullet_pattern(self, value: impl Into<i32>) { ... }
fn get_vs_think(self) -> AIThink_Think { ... }
fn set_vs_think(self, value: impl Into<AIThink_Think>) { ... }
fn is_active(self) -> bool { ... }
fn check_flag(self, flag: impl Into<UnitAI_Flag>) -> bool { ... }
fn not_flag(self, flag: impl Into<UnitAI_Flag>) -> bool { ... }
fn set_flag(self, flag: impl Into<UnitAI_Flag>) { ... }
fn clear_flag(self, flag: impl Into<UnitAI_Flag>) { ... }
fn mask_flag(self, flag: impl Into<UnitAI_Flag>) -> i32 { ... }
fn get_sequence(self, order: impl Into<AIValue_Order>) -> Il2CppString { ... }
fn get_sequence_by_index(self, order: impl Into<AIValue_Order>) -> i32 { ... }
fn set_sequence(
self,
order: impl Into<AIValue_Order>,
name: impl Into<Il2CppString>,
) { ... }
fn set_sequence_2(self, order: impl Into<AIValue_Order>, v: impl Into<i32>) { ... }
fn get_value(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
) -> AIValue { ... }
fn set_value(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
value: impl Into<i32>,
) { ... }
fn set_value_2(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
x: impl Into<i32>,
z: impl Into<i32>,
) { ... }
fn set_value_3(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
str: impl Into<Il2CppString>,
) -> Il2CppString { ... }
fn set_value_4(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
value: impl Into<AIValue>,
) { ... }
fn set_values(
self,
order: impl Into<AIValue_Order>,
str: impl Into<Il2CppString>,
) { ... }
fn reset_random_flag(self, value: impl Into<u8>) { ... }
fn get_random_flag(self) -> UnitAI_RandomFlagField { ... }
fn set_rerewarp(
self,
count_max: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
event_flag: impl Into<Il2CppString>,
) { ... }
fn ctor(self, unit: impl Into<Unit>) { ... }
fn clear(self) { ... }
fn copy(self, from: impl Into<UnitAI>) { ... }
fn can_use_engage_attack(self) -> bool { ... }
fn setup_summon(self) { ... }
fn setup_versus(self) { ... }
fn set_unit_for_versus(self, unit: impl Into<Unit>) { ... }
fn serialize(self, stream: impl Into<Stream_2>) { ... }
fn deserialize(self, stream: impl Into<Stream_2>) { ... }
fn get_value_index(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
) -> i32 { ... }
}Provided Methods§
Sourcefn get_active(self) -> i32
fn get_active(self) -> i32
get_Active() overload
Sourcefn set_active(self, value: impl Into<i32>)
fn set_active(self, value: impl Into<i32>)
set_Active(i32) overload
Sourcefn get_priority(self) -> i32
fn get_priority(self) -> i32
get_Priority() overload
Sourcefn set_priority(self, value: impl Into<i32>)
fn set_priority(self, value: impl Into<i32>)
set_Priority(i32) overload
Sourcefn get_heal_rate_a(self) -> i32
fn get_heal_rate_a(self) -> i32
get_HealRateA() overload
Sourcefn set_heal_rate_a(self, value: impl Into<i32>)
fn set_heal_rate_a(self, value: impl Into<i32>)
set_HealRateA(i32) overload
Sourcefn get_heal_rate_b(self) -> i32
fn get_heal_rate_b(self) -> i32
get_HealRateB() overload
Sourcefn set_heal_rate_b(self, value: impl Into<i32>)
fn set_heal_rate_b(self, value: impl Into<i32>)
set_HealRateB(i32) overload
Sourcefn get_battle_rate_type(self) -> UnitAI_BattleRate
fn get_battle_rate_type(self) -> UnitAI_BattleRate
get_BattleRateType() overload
Sourcefn set_battle_rate_type(self, value: impl Into<UnitAI_BattleRate>)
fn set_battle_rate_type(self, value: impl Into<UnitAI_BattleRate>)
set_BattleRateType(crate::app::unitai::UnitAI_BattleRate) overload
Sourcefn get_prohibit_engage_attack(self) -> i32
fn get_prohibit_engage_attack(self) -> i32
get_ProhibitEngageAttack() overload
Sourcefn set_prohibit_engage_attack(self, value: impl Into<i32>)
fn set_prohibit_engage_attack(self, value: impl Into<i32>)
set_ProhibitEngageAttack(i32) overload
Sourcefn get_prohibit_rod(self) -> i32
fn get_prohibit_rod(self) -> i32
get_ProhibitRod() overload
Sourcefn set_prohibit_rod(self, value: impl Into<i32>)
fn set_prohibit_rod(self, value: impl Into<i32>)
set_ProhibitRod(i32) overload
Sourcefn get_prohibit_overlap(self) -> i32
fn get_prohibit_overlap(self) -> i32
get_ProhibitOverlap() overload
Sourcefn set_prohibit_overlap(self, value: impl Into<i32>)
fn set_prohibit_overlap(self, value: impl Into<i32>)
set_ProhibitOverlap(i32) overload
Sourcefn get_rerewarp_count(self) -> i32
fn get_rerewarp_count(self) -> i32
get_RerewarpCount() overload
Sourcefn set_rerewarp_count(self, value: impl Into<i32>)
fn set_rerewarp_count(self, value: impl Into<i32>)
set_RerewarpCount(i32) overload
Sourcefn get_rerewarp_count_max(self) -> i32
fn get_rerewarp_count_max(self) -> i32
get_RerewarpCountMax() overload
Sourcefn get_rerewarp_last_x(self) -> i32
fn get_rerewarp_last_x(self) -> i32
get_RerewarpLastX() overload
Sourcefn get_rerewarp_last_z(self) -> i32
fn get_rerewarp_last_z(self) -> i32
get_RerewarpLastZ() overload
Sourcefn get_rerewarp_event_flag(self) -> Il2CppString
fn get_rerewarp_event_flag(self) -> Il2CppString
get_RerewarpEventFlag() overload
Sourcefn get_move_limit(self) -> UnitAI_MoveLimitRange
fn get_move_limit(self) -> UnitAI_MoveLimitRange
get_MoveLimit() overload
Sourcefn set_move_limit(self, value: impl Into<UnitAI_MoveLimitRange>)
fn set_move_limit(self, value: impl Into<UnitAI_MoveLimitRange>)
set_MoveLimit(crate::app::unitai::UnitAI_MoveLimitRange) overload
Sourcefn get_versus_type(self) -> UnitAI_VersusTypes
fn get_versus_type(self) -> UnitAI_VersusTypes
get_VersusType() overload
Sourcefn set_versus_type(self, value: impl Into<UnitAI_VersusTypes>)
fn set_versus_type(self, value: impl Into<UnitAI_VersusTypes>)
set_VersusType(crate::app::unitai::UnitAI_VersusTypes) overload
Sourcefn get_bullet_pattern(self) -> i32
fn get_bullet_pattern(self) -> i32
get_BulletPattern() overload
Sourcefn set_bullet_pattern(self, value: impl Into<i32>)
fn set_bullet_pattern(self, value: impl Into<i32>)
set_BulletPattern(i32) overload
Sourcefn get_vs_think(self) -> AIThink_Think
fn get_vs_think(self) -> AIThink_Think
get_VsThink() overload
Sourcefn set_vs_think(self, value: impl Into<AIThink_Think>)
fn set_vs_think(self, value: impl Into<AIThink_Think>)
set_VsThink(crate::app::aithink::AIThink_Think) overload
Sourcefn check_flag(self, flag: impl Into<UnitAI_Flag>) -> bool
fn check_flag(self, flag: impl Into<UnitAI_Flag>) -> bool
CheckFlag(crate::app::unitai::UnitAI_Flag) overload
Sourcefn not_flag(self, flag: impl Into<UnitAI_Flag>) -> bool
fn not_flag(self, flag: impl Into<UnitAI_Flag>) -> bool
NotFlag(crate::app::unitai::UnitAI_Flag) overload
Sourcefn set_flag(self, flag: impl Into<UnitAI_Flag>)
fn set_flag(self, flag: impl Into<UnitAI_Flag>)
SetFlag(crate::app::unitai::UnitAI_Flag) overload
Sourcefn clear_flag(self, flag: impl Into<UnitAI_Flag>)
fn clear_flag(self, flag: impl Into<UnitAI_Flag>)
ClearFlag(crate::app::unitai::UnitAI_Flag) overload
Sourcefn mask_flag(self, flag: impl Into<UnitAI_Flag>) -> i32
fn mask_flag(self, flag: impl Into<UnitAI_Flag>) -> i32
MaskFlag(crate::app::unitai::UnitAI_Flag) overload
Sourcefn get_sequence(self, order: impl Into<AIValue_Order>) -> Il2CppString
fn get_sequence(self, order: impl Into<AIValue_Order>) -> Il2CppString
GetSequence(crate::app::aivalue::AIValue_Order) overload
Sourcefn get_sequence_by_index(self, order: impl Into<AIValue_Order>) -> i32
fn get_sequence_by_index(self, order: impl Into<AIValue_Order>) -> i32
GetSequenceByIndex(crate::app::aivalue::AIValue_Order) overload
Sourcefn set_sequence(
self,
order: impl Into<AIValue_Order>,
name: impl Into<Il2CppString>,
)
fn set_sequence( self, order: impl Into<AIValue_Order>, name: impl Into<Il2CppString>, )
SetSequence(crate::app::aivalue::AIValue_Order, ::unity::Il2CppString) overload
Sourcefn set_sequence_2(self, order: impl Into<AIValue_Order>, v: impl Into<i32>)
fn set_sequence_2(self, order: impl Into<AIValue_Order>, v: impl Into<i32>)
SetSequence(crate::app::aivalue::AIValue_Order, i32) overload
Sourcefn get_value(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
) -> AIValue
fn get_value( self, order: impl Into<AIValue_Order>, index: impl Into<i32>, ) -> AIValue
GetValue(crate::app::aivalue::AIValue_Order, i32) overload
Sourcefn set_value(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
value: impl Into<i32>,
)
fn set_value( self, order: impl Into<AIValue_Order>, index: impl Into<i32>, value: impl Into<i32>, )
SetValue(crate::app::aivalue::AIValue_Order, i32, i32) overload
Sourcefn set_value_2(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
x: impl Into<i32>,
z: impl Into<i32>,
)
fn set_value_2( self, order: impl Into<AIValue_Order>, index: impl Into<i32>, x: impl Into<i32>, z: impl Into<i32>, )
SetValue(crate::app::aivalue::AIValue_Order, i32, i32, i32) overload
Sourcefn set_value_3(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
str: impl Into<Il2CppString>,
) -> Il2CppString
fn set_value_3( self, order: impl Into<AIValue_Order>, index: impl Into<i32>, str: impl Into<Il2CppString>, ) -> Il2CppString
SetValue(crate::app::aivalue::AIValue_Order, i32, ::unity::Il2CppString) overload
Sourcefn set_value_4(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
value: impl Into<AIValue>,
)
fn set_value_4( self, order: impl Into<AIValue_Order>, index: impl Into<i32>, value: impl Into<AIValue>, )
SetValue(crate::app::aivalue::AIValue_Order, i32, crate::app::aivalue::AIValue) overload
Sourcefn set_values(
self,
order: impl Into<AIValue_Order>,
str: impl Into<Il2CppString>,
)
fn set_values( self, order: impl Into<AIValue_Order>, str: impl Into<Il2CppString>, )
SetValues(crate::app::aivalue::AIValue_Order, ::unity::Il2CppString) overload
Sourcefn reset_random_flag(self, value: impl Into<u8>)
fn reset_random_flag(self, value: impl Into<u8>)
ResetRandomFlag(u8) overload
Sourcefn get_random_flag(self) -> UnitAI_RandomFlagField
fn get_random_flag(self) -> UnitAI_RandomFlagField
GetRandomFlag() overload
Sourcefn set_rerewarp(
self,
count_max: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
event_flag: impl Into<Il2CppString>,
)
fn set_rerewarp( self, count_max: impl Into<i32>, last_x: impl Into<i32>, last_z: impl Into<i32>, event_flag: impl Into<Il2CppString>, )
SetRerewarp(i32, i32, i32, ::unity::Il2CppString) overload
Sourcefn can_use_engage_attack(self) -> bool
fn can_use_engage_attack(self) -> bool
CanUseEngageAttack() overload
Sourcefn setup_summon(self)
fn setup_summon(self)
SetupSummon() overload
Sourcefn setup_versus(self)
fn setup_versus(self)
SetupVersus() overload
Sourcefn set_unit_for_versus(self, unit: impl Into<Unit>)
fn set_unit_for_versus(self, unit: impl Into<Unit>)
SetUnitForVersus(crate::app::unit::Unit) 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_value_index(
self,
order: impl Into<AIValue_Order>,
index: impl Into<i32>,
) -> i32
fn get_value_index( self, order: impl Into<AIValue_Order>, index: impl Into<i32>, ) -> i32
GetValueIndex(crate::app::aivalue::AIValue_Order, i32) 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: IUnitAI> IUnitAIMethods for __T
app-unitai only.