pub struct hkbParticleSystemEventPayload {
pub __ptr: Option<Pointer>,
pub parent: hkbEventPayload,
pub m_type: SystemType,
pub m_emitBoneIndex: i16,
pub m_offset: Vector4,
pub m_direction: Vector4,
pub m_numParticles: i32,
pub m_speed: f32,
}
Expand description
§C++ Info
- name:
hkbParticleSystemEventPayload
- version:
0
- signature:
0x9df46cd6
- size:
64
(x86)/80
(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: hkbEventPayload
Alternative to C++ class inheritance.
m_type: SystemType
§C++ Info
- name:
type
(ctype:enum SystemType
) - offset:
8
(x86)/16
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_emitBoneIndex: i16
§C++ Info
- name:
emitBoneIndex
(ctype:hkInt16
) - offset:
10
(x86)/18
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_offset: Vector4
§C++ Info
- name:
offset
(ctype:hkVector4
) - offset:
16
(x86)/32
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_direction: Vector4
§C++ Info
- name:
direction
(ctype:hkVector4
) - offset:
32
(x86)/48
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_numParticles: i32
§C++ Info
- name:
numParticles
(ctype:hkInt32
) - offset:
48
(x86)/64
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_speed: f32
§C++ Info
- name:
speed
(ctype:hkReal
) - offset:
52
(x86)/68
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkbParticleSystemEventPayload
impl<'de> Deserialize<'de> for hkbParticleSystemEventPayload
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 hkbParticleSystemEventPayload
impl RefUnwindSafe for hkbParticleSystemEventPayload
impl Send for hkbParticleSystemEventPayload
impl Sync for hkbParticleSystemEventPayload
impl Unpin for hkbParticleSystemEventPayload
impl UnwindSafe for hkbParticleSystemEventPayload
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