pub struct hkbSetBehaviorCommand {
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_characterId: u64,
pub m_behavior: Pointer,
pub m_rootGenerator: Pointer,
pub m_referencedBehaviors: Vec<Pointer>,
pub m_startStateIndex: i32,
pub m_randomizeSimulation: bool,
pub m_padding: i32,
}
Expand description
§C++ Info
- name:
hkbSetBehaviorCommand
- version:
1
- signature:
0xe18b74b9
- size:
48
(x86)/72
(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_characterId: u64
§C++ Info
- name:
characterId
(ctype:hkUint64
) - offset:
8
(x86)/16
(x86_64) - type_size:
8
(x86)/8
(x86_64)
m_behavior: Pointer
§C++ Info
- name:
behavior
(ctype:struct hkbBehaviorGraph*
) - offset:
16
(x86)/24
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_rootGenerator: Pointer
§C++ Info
- name:
rootGenerator
(ctype:struct hkbGenerator*
) - offset:
20
(x86)/32
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_referencedBehaviors: Vec<Pointer>
§C++ Info
- name:
referencedBehaviors
(ctype:hkArray<hkbBehaviorGraph*>
) - offset:
24
(x86)/40
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_startStateIndex: i32
§C++ Info
- name:
startStateIndex
(ctype:hkInt32
) - offset:
36
(x86)/56
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_randomizeSimulation: bool
§C++ Info
- name:
randomizeSimulation
(ctype:hkBool
) - offset:
40
(x86)/60
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_padding: i32
§C++ Info
- name:
padding
(ctype:hkInt32
) - offset:
44
(x86)/64
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkbSetBehaviorCommand
impl Clone for hkbSetBehaviorCommand
Source§impl Debug for hkbSetBehaviorCommand
impl Debug for hkbSetBehaviorCommand
Source§impl Default for hkbSetBehaviorCommand
impl Default for hkbSetBehaviorCommand
Source§impl<'de> Deserialize<'de> for hkbSetBehaviorCommand
impl<'de> Deserialize<'de> for hkbSetBehaviorCommand
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
Source§impl HavokClass for hkbSetBehaviorCommand
impl HavokClass for hkbSetBehaviorCommand
Source§impl PartialEq for hkbSetBehaviorCommand
impl PartialEq for hkbSetBehaviorCommand
Auto Trait Implementations§
impl Freeze for hkbSetBehaviorCommand
impl RefUnwindSafe for hkbSetBehaviorCommand
impl Send for hkbSetBehaviorCommand
impl Sync for hkbSetBehaviorCommand
impl Unpin for hkbSetBehaviorCommand
impl UnwindSafe for hkbSetBehaviorCommand
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