CommonLibSSE NG
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;
35 
36  ~ExtraRagDollData() override; // 00
37 
38  // override (BSExtraData)
39  ExtraDataType GetType() const override; // 01 - { return kRagDollData; }
40  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
41 
42  // members
44  };
45  static_assert(sizeof(ExtraRagDollData) == 0x18);
46 }
Definition: BSExtraData.h:9
Definition: ExtraRagDollData.h:31
~ExtraRagDollData() override
ExtraDataType GetType() const override
static constexpr auto RTTI
Definition: ExtraRagDollData.h:33
bool IsNotEqual(const BSExtraData *a_rhs) const override
RagDollData * ragDollData
Definition: ExtraRagDollData.h:43
static auto EXTRADATATYPE
Definition: ExtraRagDollData.h:34
Definition: NiPoint3.h:6
Definition: AbsorbEffect.h:6
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr REL::VariantID RTTI_ExtraRagDollData(684721, 392388, 0x1ed8e58)
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