pub struct hkbSetWordVariableCommand {
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_quadValue: Vector4,
pub m_characterId: u64,
pub m_variableId: i32,
pub m_value: hkbVariableValue,
pub m_type: VariableType,
pub m_global: bool,
}
Expand description
§C++ Info
- name:
hkbSetWordVariableCommand
- version:
0
- signature:
0xf3ae5fca
- size:
64
(x86)/64
(x86_64) - vtable:
true
Fields§
§__ptr: Option<Pointer>
§Unique index for this class
- Represents a pointer on XML (
<hkobject name="#0001"></hkobject>
) Option::None
=> This class isclass in field
.(<hkobject></hkobject>
)
§Note
Not present in the binary & Not exist actual C++ field.
parent: hkReferencedObject
Alternative to C++ class inheritance.
m_quadValue: Vector4
§C++ Info
- name:
quadValue
(ctype:hkVector4
) - offset:
16
(x86)/16
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_characterId: u64
§C++ Info
- name:
characterId
(ctype:hkUint64
) - offset:
32
(x86)/32
(x86_64) - type_size:
8
(x86)/8
(x86_64)
m_variableId: i32
§C++ Info
- name:
variableId
(ctype:hkInt32
) - offset:
40
(x86)/40
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_value: hkbVariableValue
§C++ Info
- name:
value
(ctype:struct hkbVariableValue
) - offset:
44
(x86)/44
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_type: VariableType
§C++ Info
- name:
type
(ctype:enum VariableType
) - offset:
48
(x86)/48
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_global: bool
§C++ Info
- name:
global
(ctype:hkBool
) - offset:
49
(x86)/49
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl Clone for hkbSetWordVariableCommand
impl Clone for hkbSetWordVariableCommand
Source§impl Debug for hkbSetWordVariableCommand
impl Debug for hkbSetWordVariableCommand
Source§impl Default for hkbSetWordVariableCommand
impl Default for hkbSetWordVariableCommand
Source§impl<'de> Deserialize<'de> for hkbSetWordVariableCommand
impl<'de> Deserialize<'de> for hkbSetWordVariableCommand
Source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for hkbSetWordVariableCommand
impl RefUnwindSafe for hkbSetWordVariableCommand
impl Send for hkbSetWordVariableCommand
impl Sync for hkbSetWordVariableCommand
impl Unpin for hkbSetWordVariableCommand
impl UnwindSafe for hkbSetWordVariableCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more