CommonLibSSE NG
hkpContactListener.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  struct hkpCollisionEvent;
6  struct hkpContactPointEvent;
7  struct hkpContactPointAddedEvent;
8  struct hkpContactPointRemovedEvent;
9  struct hkpContactProcessEvent;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_hkpContactListener;
15  inline static constexpr auto VTABLE = VTABLE_hkpContactListener;
16 
17  // add
18  virtual void ContactPointCallback(const hkpContactPointEvent&) {} // 00
19  virtual void CollisionAddedCallback(const hkpCollisionEvent&) {} // 01
20  virtual void CollisionRemovedCallback(const hkpCollisionEvent&) {} // 02
21 
22  virtual ~hkpContactListener() = default; // 04
23 
24  virtual void ContactPointAddedCallback(hkpContactPointAddedEvent&) {} // 05
25  virtual void ContactPointRemovedCallback(hkpContactPointRemovedEvent&) {} // 06
26  virtual void ContactProcessCallback(hkpContactProcessEvent&) {} // 07
27  };
28  static_assert(sizeof(hkpContactListener) == 0x8);
29 }
Definition: hkpContactListener.h:12
virtual void ContactProcessCallback(hkpContactProcessEvent &)
Definition: hkpContactListener.h:26
static constexpr auto VTABLE
Definition: hkpContactListener.h:15
static constexpr auto RTTI
Definition: hkpContactListener.h:14
virtual void ContactPointRemovedCallback(hkpContactPointRemovedEvent &)
Definition: hkpContactListener.h:25
virtual ~hkpContactListener()=default
virtual void ContactPointAddedCallback(hkpContactPointAddedEvent &)
Definition: hkpContactListener.h:24
virtual void ContactPointCallback(const hkpContactPointEvent &)
Definition: hkpContactListener.h:18
virtual void CollisionRemovedCallback(const hkpCollisionEvent &)
Definition: hkpContactListener.h:20
virtual void CollisionAddedCallback(const hkpCollisionEvent &)
Definition: hkpContactListener.h:19
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_hkpContactListener(685483, 393268, 0x1ee6ac8)
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpContactListener
Definition: Offsets_VTABLE.h:980
Definition: hkpCollisionEvent.h:9
Definition: hkpContactPointEvent.h:15