CommonLibVR
Loading...
Searching...
No Matches
FOCollisionListener.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
6
7namespace RE
8{
9 class ActorCause;
10 class bhkRigidBody;
11 class TESObjectREFR;
12
14 public bhkBackfaceContactListener, // 00
15 public BSTSingletonSDM<FOCollisionListener> // 08
16 {
17 public:
18 inline static constexpr auto RTTI = RTTI_FOCollisionListener;
19 inline static constexpr auto VTABLE = VTABLE_FOCollisionListener;
20
22 {
23 public:
24 // members
26 float damage; // 04
27 std::uint32_t pad08; // 08
29 };
30 static_assert(sizeof(ObjectDamageImpactData) == 0x18);
31
32 // override (bhkBackfaceContactListener)
33 void ContactPointCallback(const hkpContactPointEvent&) override; // 00
34
35 ~FOCollisionListener() override; // 00
36
38 {
39 static REL::Relocation<FOCollisionListener**> singleton{ RELOCATION_ID(514284, 400444) };
40 return *singleton;
41 }
42
43 // members
45 private:
47 };
48 static_assert(sizeof(FOCollisionListener) == 0x28);
49}
#define KEEP_FOR_RE()
Definition PCH.h:517
#define RELOCATION_ID(SE, AE)
Definition PCH.h:506
Definition Relocation.h:210
Definition BSTArray.h:378
Definition FOCollisionListener.h:16
BSTArray< ObjectDamageImpactData > damageImpacts
Definition FOCollisionListener.h:44
static constexpr auto VTABLE
Definition FOCollisionListener.h:19
~FOCollisionListener() override
static FOCollisionListener * GetSingleton()
Definition FOCollisionListener.h:37
static constexpr auto RTTI
Definition FOCollisionListener.h:18
void ContactPointCallback(const hkpContactPointEvent &) override
Definition NiSmartPointer.h:9
Definition bhkBackfaceContactListener.h:8
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_FOCollisionListener(static_cast< std::uint64_t >(685486))
constexpr std::array< REL::ID, 1 > VTABLE_FOCollisionListener
Definition Offsets_VTABLE.h:11640
Definition BSTSingleton.h:50
Definition FOCollisionListener.h:22
NiPointer< bhkRigidBody > body
Definition FOCollisionListener.h:25
float damage
Definition FOCollisionListener.h:26
NiPointer< ActorCause > actorCause
Definition FOCollisionListener.h:28
std::uint32_t pad08
Definition FOCollisionListener.h:27
Definition hkpContactPointEvent.h:15