pub struct hkpVehicleDefaultEngine {
pub __ptr: Option<Pointer>,
pub parent: hkpVehicleEngine,
pub m_minRPM: f32,
pub m_optRPM: f32,
pub m_maxRPM: f32,
pub m_maxTorque: f32,
pub m_torqueFactorAtMinRPM: f32,
pub m_torqueFactorAtMaxRPM: f32,
pub m_resistanceFactorAtMinRPM: f32,
pub m_resistanceFactorAtOptRPM: f32,
pub m_resistanceFactorAtMaxRPM: f32,
pub m_clutchSlipRPM: f32,
}
Expand description
§C++ Info
- name:
hkpVehicleDefaultEngine
- version:
0
- signature:
0x56f8ca24
- size:
48
(x86)/56
(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: hkpVehicleEngine
Alternative to C++ class inheritance.
m_minRPM: f32
§C++ Info
- name:
minRPM
(ctype:hkReal
) - offset:
8
(x86)/16
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_optRPM: f32
§C++ Info
- name:
optRPM
(ctype:hkReal
) - offset:
12
(x86)/20
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxRPM: f32
§C++ Info
- name:
maxRPM
(ctype:hkReal
) - offset:
16
(x86)/24
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxTorque: f32
§C++ Info
- name:
maxTorque
(ctype:hkReal
) - offset:
20
(x86)/28
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_torqueFactorAtMinRPM: f32
§C++ Info
- name:
torqueFactorAtMinRPM
(ctype:hkReal
) - offset:
24
(x86)/32
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_torqueFactorAtMaxRPM: f32
§C++ Info
- name:
torqueFactorAtMaxRPM
(ctype:hkReal
) - offset:
28
(x86)/36
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_resistanceFactorAtMinRPM: f32
§C++ Info
- name:
resistanceFactorAtMinRPM
(ctype:hkReal
) - offset:
32
(x86)/40
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_resistanceFactorAtOptRPM: f32
§C++ Info
- name:
resistanceFactorAtOptRPM
(ctype:hkReal
) - offset:
36
(x86)/44
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_resistanceFactorAtMaxRPM: f32
§C++ Info
- name:
resistanceFactorAtMaxRPM
(ctype:hkReal
) - offset:
40
(x86)/48
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_clutchSlipRPM: f32
§C++ Info
- name:
clutchSlipRPM
(ctype:hkReal
) - offset:
44
(x86)/52
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkpVehicleDefaultEngine
impl Clone for hkpVehicleDefaultEngine
Source§impl Debug for hkpVehicleDefaultEngine
impl Debug for hkpVehicleDefaultEngine
Source§impl Default for hkpVehicleDefaultEngine
impl Default for hkpVehicleDefaultEngine
Source§impl<'de> Deserialize<'de> for hkpVehicleDefaultEngine
impl<'de> Deserialize<'de> for hkpVehicleDefaultEngine
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 hkpVehicleDefaultEngine
impl HavokClass for hkpVehicleDefaultEngine
Source§impl PartialEq for hkpVehicleDefaultEngine
impl PartialEq for hkpVehicleDefaultEngine
Auto Trait Implementations§
impl Freeze for hkpVehicleDefaultEngine
impl RefUnwindSafe for hkpVehicleDefaultEngine
impl Send for hkpVehicleDefaultEngine
impl Sync for hkpVehicleDefaultEngine
impl Unpin for hkpVehicleDefaultEngine
impl UnwindSafe for hkpVehicleDefaultEngine
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