CommonLibVR
hkpAction.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_hkpAction;
11  inline static constexpr auto VTABLE = VTABLE_hkpAction;
12 
13  virtual ~hkpAction() override; // 00
14 
15  // add
16  virtual void ApplyAction(const hkStepInfo& a_stepInfo) = 0; // 03
17  virtual void GetEntities(hkArray<hkpEntity*>& a_entitiesOut) = 0; // 04
18  virtual void GetPhantoms(hkArray<hkpPhantom*>& a_phantomsOut); // 05
19  virtual void EntityRemovedCallback(hkpEntity* a_entity) = 0; // 06
20  virtual hkpAction* Clone(const hkArray<hkpEntity*>& a_newEntities, const hkArray<hkpPhantom*>& a_newPhantoms) const = 0; // 07
21 
22  // members
23  hkpWorld* world; // 10
25  std::uint64_t userData; // 20
27  private:
28  KEEP_FOR_RE()
29  };
30  static_assert(sizeof(hkpAction) == 0x30);
31 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkArray.h:190
Definition: hkReferencedObject.h:11
Definition: hkStepInfo.h:8
Definition: hkStringPtr.h:6
Definition: hkpAction.h:8
hkpSimulationIsland * island
Definition: hkpAction.h:24
hkStringPtr name
Definition: hkpAction.h:26
hkpWorld * world
Definition: hkpAction.h:23
static constexpr auto VTABLE
Definition: hkpAction.h:11
virtual void GetPhantoms(hkArray< hkpPhantom * > &a_phantomsOut)
virtual void EntityRemovedCallback(hkpEntity *a_entity)=0
virtual ~hkpAction() override
virtual void GetEntities(hkArray< hkpEntity * > &a_entitiesOut)=0
std::uint64_t userData
Definition: hkpAction.h:25
virtual hkpAction * Clone(const hkArray< hkpEntity * > &a_newEntities, const hkArray< hkpPhantom * > &a_newPhantoms) const =0
virtual void ApplyAction(const hkStepInfo &a_stepInfo)=0
static constexpr auto RTTI
Definition: hkpAction.h:10
Definition: hkpEntity.h:25
Definition: hkpSimulationIsland.h:16
Definition: hkpWorld.h:62
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpAction(static_cast< std::uint64_t >(685460))
constexpr std::array< REL::ID, 1 > VTABLE_hkpAction
Definition: Offsets_VTABLE.h:14135