CommonLibVR
BGSDualCastData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
4 #include "RE/T/TESBoundObject.h"
5 
6 namespace RE
7 {
8  struct BGSDualCastDataDEF // DATA
9  {
10  public:
11  enum class Flags
12  {
13  kNone = 0,
14  kHitEffectInheritScale = 1 << 0,
15  kProjectileInheritScale = 1 << 1,
16  kExplosionInheritScale = 1 << 2
17  };
18 
19  // members
26  std::uint32_t pad30; // 30
27  };
28  static_assert(sizeof(BGSDualCastDataDEF) == 0x30);
29 
31  {
32  public:
33  inline static constexpr auto RTTI = RTTI_BGSDualCastData;
34  inline static constexpr auto VTABLE = VTABLE_BGSDualCastData;
35  inline static constexpr auto FORMTYPE = FormType::DualCastData;
36 
37  struct RecordFlags
38  {
39  enum RecordFlag : std::uint32_t
40  {
41  kDeleted = 1 << 5,
42  kIgnored = 1 << 12
43  };
44  };
45 
46  ~BGSDualCastData() override; // 00
47 
48  // override (TESBoundObject)
49  bool Load(TESFile* a_mod) override; // 06
50  void InitItemImpl() override; // 13
51 
52  // members
53  BGSDualCastDataDEF data; // 30 - DATA
54  private:
55  KEEP_FOR_RE()
56  };
57  static_assert(sizeof(BGSDualCastData) == 0x60);
58 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSArtObject.h:12
Definition: BGSDualCastData.h:31
static constexpr auto FORMTYPE
Definition: BGSDualCastData.h:35
void InitItemImpl() override
static constexpr auto VTABLE
Definition: BGSDualCastData.h:34
static constexpr auto RTTI
Definition: BGSDualCastData.h:33
bool Load(TESFile *a_mod) override
BGSDualCastDataDEF data
Definition: BGSDualCastData.h:53
~BGSDualCastData() override
Definition: BGSExplosion.h:53
Definition: BGSImpactDataSet.h:13
Definition: BGSProjectile.h:79
Definition: TESBoundObject.h:26
Definition: TESEffectShader.h:182
Definition: TESFile.h:17
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSDualCastData(static_cast< std::uint64_t >(513869))
constexpr std::array< REL::ID, 1 > VTABLE_BGSDualCastData
Definition: Offsets_VTABLE.h:8606
Definition: BGSDualCastData.h:9
BGSProjectile * pProjectile
Definition: BGSDualCastData.h:20
BGSExplosion * pExplosion
Definition: BGSDualCastData.h:21
Flags
Definition: BGSDualCastData.h:12
stl::enumeration< Flags, std::uint32_t > flags
Definition: BGSDualCastData.h:25
TESEffectShader * pEffectShader
Definition: BGSDualCastData.h:22
BGSImpactDataSet * pImpactDataSet
Definition: BGSDualCastData.h:24
std::uint32_t pad30
Definition: BGSDualCastData.h:26
BGSArtObject * pHitEffectArt
Definition: BGSDualCastData.h:23
Definition: BGSDualCastData.h:38
RecordFlag
Definition: BGSDualCastData.h:40
@ kDeleted
Definition: BGSDualCastData.h:41
@ kIgnored
Definition: BGSDualCastData.h:42