CommonLibVR
ExtraRagDollData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/E/ExtraDataTypes.h"
5 
6 namespace RE
7 {
8  struct RagDollBone
9  {
10  std::int8_t boneID; // 00
11  std::uint8_t pad01; // 01
12  std::uint16_t pad02; // 02
15  };
16  static_assert(sizeof(RagDollBone) == 0x1C);
17 
18  struct RagDollData
19  {
20  std::int8_t boneCount; // 00
21  std::uint8_t pad01; // 01
22  std::uint16_t pad02; // 02
23  std::uint32_t pad04; // 04
26  std::uint32_t pad1C; // 1C
27  };
28  static_assert(sizeof(RagDollData) == 0x20);
29 
31  {
32  public:
33  inline static constexpr auto RTTI = RTTI_ExtraRagDollData;
34  inline static constexpr auto VTABLE = VTABLE_ExtraRagDollData;
35  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kRagDollData;
36 
37  ~ExtraRagDollData() override; // 00
38 
39  // override (BSExtraData)
40  ExtraDataType GetType() const override; // 01 - { return kRagDollData; }
41  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
42 
43  // members
45  private:
46  KEEP_FOR_RE()
47  };
48  static_assert(sizeof(ExtraRagDollData) == 0x18);
49 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: ExtraRagDollData.h:31
~ExtraRagDollData() override
ExtraDataType GetType() const override
static constexpr auto VTABLE
Definition: ExtraRagDollData.h:34
static constexpr auto RTTI
Definition: ExtraRagDollData.h:33
bool IsNotEqual(const BSExtraData *a_rhs) const override
RagDollData * ragDollData
Definition: ExtraRagDollData.h:44
static constexpr auto EXTRADATATYPE
Definition: ExtraRagDollData.h:35
Definition: NiPoint3.h:6
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraRagDollData
Definition: Offsets_VTABLE.h:11597
constexpr REL::ID RTTI_ExtraRagDollData(static_cast< std::uint64_t >(684721))
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraRagDollData.h:9
std::uint16_t pad02
Definition: ExtraRagDollData.h:12
std::int8_t boneID
Definition: ExtraRagDollData.h:10
std::uint8_t pad01
Definition: ExtraRagDollData.h:11
NiPoint3 boneRot
Definition: ExtraRagDollData.h:14
NiPoint3 bonePos
Definition: ExtraRagDollData.h:13
Definition: ExtraRagDollData.h:19
std::int8_t boneCount
Definition: ExtraRagDollData.h:20
std::uint32_t pad04
Definition: ExtraRagDollData.h:23
std::uint16_t pad02
Definition: ExtraRagDollData.h:22
std::uint32_t pad1C
Definition: ExtraRagDollData.h:26
RagDollBone * bones
Definition: ExtraRagDollData.h:24
std::uint8_t pad01
Definition: ExtraRagDollData.h:21
NiPoint3 bip01Rot
Definition: ExtraRagDollData.h:25