pub struct hkpBallGun<'a> {
pub __ptr: Option<Pointer>,
pub parent: hkpFirstPersonGun<'a>,
pub m_bulletRadius: f32,
pub m_bulletVelocity: f32,
pub m_bulletMass: f32,
pub m_damageMultiplier: f32,
pub m_maxBulletsInWorld: i32,
pub m_bulletOffsetFromCenter: Vector4,
pub m_addedBodies: Pointer,
}Expand description
§C++ Info
- name:
hkpBallGun - version:
0 - signature:
0x57b06d35 - size:
96(x86)/112(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: hkpFirstPersonGun<'a>Alternative to C++ class inheritance.
m_bulletRadius: f32§C++ Info
- name:
bulletRadius(ctype:hkReal) - offset:
32(x86)/56(x86_64) - type_size:
4(x86)/4(x86_64)
m_bulletVelocity: f32§C++ Info
- name:
bulletVelocity(ctype:hkReal) - offset:
36(x86)/60(x86_64) - type_size:
4(x86)/4(x86_64)
m_bulletMass: f32§C++ Info
- name:
bulletMass(ctype:hkReal) - offset:
40(x86)/64(x86_64) - type_size:
4(x86)/4(x86_64)
m_damageMultiplier: f32§C++ Info
- name:
damageMultiplier(ctype:hkReal) - offset:
44(x86)/68(x86_64) - type_size:
4(x86)/4(x86_64)
m_maxBulletsInWorld: i32§C++ Info
- name:
maxBulletsInWorld(ctype:hkInt32) - offset:
48(x86)/72(x86_64) - type_size:
4(x86)/4(x86_64)
m_bulletOffsetFromCenter: Vector4§C++ Info
- name:
bulletOffsetFromCenter(ctype:hkVector4) - offset:
64(x86)/80(x86_64) - type_size:
16(x86)/16(x86_64)
m_addedBodies: Pointer§C++ Info
- name:
addedBodies(ctype:void*) - offset:
80(x86)/96(x86_64) - type_size:
4(x86)/8(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl<'a> Clone for hkpBallGun<'a>
impl<'a> Clone for hkpBallGun<'a>
Source§impl<'a> Debug for hkpBallGun<'a>
impl<'a> Debug for hkpBallGun<'a>
Source§impl<'a> Default for hkpBallGun<'a>
impl<'a> Default for hkpBallGun<'a>
Source§impl<'de> Deserialize<'de> for hkpBallGun<'de>
impl<'de> Deserialize<'de> for hkpBallGun<'de>
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<'a> HavokClass for hkpBallGun<'a>
impl<'a> HavokClass for hkpBallGun<'a>
Source§impl<'a> PartialEq for hkpBallGun<'a>
impl<'a> PartialEq for hkpBallGun<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkpBallGun<'a>
impl<'a> RefUnwindSafe for hkpBallGun<'a>
impl<'a> Send for hkpBallGun<'a>
impl<'a> Sync for hkpBallGun<'a>
impl<'a> Unpin for hkpBallGun<'a>
impl<'a> UnwindSafe for hkpBallGun<'a>
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