CommonLibSSE (powerof3)
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 FORMTYPE = FormType::DualCastData;
35 
36  struct RecordFlags
37  {
38  enum RecordFlag : std::uint32_t
39  {
40  kDeleted = 1 << 5,
41  kIgnored = 1 << 12
42  };
43  };
44 
45  ~BGSDualCastData() override; // 00
46 
47  // override (TESBoundObject)
48  bool Load(TESFile* a_mod) override; // 06
49  void InitItemImpl() override; // 13
50 
51  // members
52  BGSDualCastDataDEF data; // 30 - DATA
53  };
54  static_assert(sizeof(BGSDualCastData) == 0x60);
55 }
Definition: BGSArtObject.h:12
Definition: BGSDualCastData.h:31
static constexpr auto FORMTYPE
Definition: BGSDualCastData.h:34
void InitItemImpl() override
static constexpr auto RTTI
Definition: BGSDualCastData.h:33
bool Load(TESFile *a_mod) override
BGSDualCastDataDEF data
Definition: BGSDualCastData.h:52
~BGSDualCastData() override
Definition: BGSExplosion.h:53
Definition: BGSImpactDataSet.h:13
Definition: BGSProjectile.h:79
Definition: TESBoundObject.h:24
Definition: TESEffectShader.h:171
Definition: TESFile.h:14
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSDualCastData
Definition: Offsets_RTTI.h:1283
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:37
RecordFlag
Definition: BGSDualCastData.h:39
@ kDeleted
Definition: BGSDualCastData.h:40
@ kIgnored
Definition: BGSDualCastData.h:41