pub trait IAIValueMethods: IAIValue {
Show 24 methods
// Provided methods
fn get_x(self) -> i32 { ... }
fn get_z(self) -> i32 { ... }
fn get_value(self) -> i32 { ... }
fn set_value(self, v: impl Into<i16>) { ... }
fn set_position(self, x: impl Into<u8>, z: impl Into<u8>) { ... }
fn get_person(self) -> PersonData { ... }
fn get_job(self) -> JobData { ... }
fn get_terrain(self) -> TerrainData_2 { ... }
fn get_item(self) -> ItemData { ... }
fn get_ai(self) -> List_1<AIData> { ... }
fn get_ai_name(self) -> Il2CppString { ... }
fn is_valid_flag_value(self) -> bool { ... }
fn get_flag_value(self) -> i32 { ... }
fn set_value_2(self, str: impl Into<Il2CppString>) -> Il2CppString { ... }
fn is_signal(self) -> bool { ... }
fn is_default(self) -> bool { ... }
fn is_max(self) -> bool { ... }
fn is_skip(self) -> bool { ... }
fn is_argument(self) -> bool { ... }
fn get_argument(
self,
order: impl Into<AIValue_Order>,
unit: impl Into<Unit>,
) -> AIValue { ... }
fn serialize(self, stream: impl Into<Stream_2>) { ... }
fn deserialize(self, stream: impl Into<Stream_2>) { ... }
fn get_string(self) -> Il2CppString { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_position(self, x: impl Into<u8>, z: impl Into<u8>)
fn set_position(self, x: impl Into<u8>, z: impl Into<u8>)
SetPosition(u8, u8) overload
Sourcefn get_person(self) -> PersonData
fn get_person(self) -> PersonData
GetPerson() overload
Sourcefn get_terrain(self) -> TerrainData_2
fn get_terrain(self) -> TerrainData_2
GetTerrain() overload
Sourcefn get_ai_name(self) -> Il2CppString
fn get_ai_name(self) -> Il2CppString
GetAIName() overload
Sourcefn is_valid_flag_value(self) -> bool
fn is_valid_flag_value(self) -> bool
IsValidFlagValue() overload
Sourcefn get_flag_value(self) -> i32
fn get_flag_value(self) -> i32
GetFlagValue() overload
Sourcefn set_value_2(self, str: impl Into<Il2CppString>) -> Il2CppString
fn set_value_2(self, str: impl Into<Il2CppString>) -> Il2CppString
SetValue(::unity::Il2CppString) overload
Sourcefn is_default(self) -> bool
fn is_default(self) -> bool
IsDefault() overload
Sourcefn is_argument(self) -> bool
fn is_argument(self) -> bool
IsArgument() overload
Sourcefn get_argument(
self,
order: impl Into<AIValue_Order>,
unit: impl Into<Unit>,
) -> AIValue
fn get_argument( self, order: impl Into<AIValue_Order>, unit: impl Into<Unit>, ) -> AIValue
GetArgument(crate::app::aivalue::AIValue_Order, 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_string(self) -> Il2CppString
fn get_string(self) -> Il2CppString
GetString() 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: IAIValue> IAIValueMethods for __T
Available on crate feature
app-aivalue only.