CommonLibSSE NG
TESSound.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
5 
6 namespace RE
7 {
8  class TESSound : public TESBoundAnimObject
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_TESSound;
12  inline static constexpr auto VTABLE = VTABLE_TESSound;
13  inline static constexpr auto FORMTYPE = FormType::Sound;
14 
15  struct RecordFlags
16  {
17  enum RecordFlag : std::uint32_t
18  {
19  kDeleted = 1 << 5,
20  kIgnored = 1 << 12
21  };
22  };
23 
24  ~TESSound() override; // 00
25 
26  // override (TESBoundAnimObject)
27  void InitializeData() override; // 04
28  bool Load(TESFile* a_mod) override; // 06
29  void InitItemImpl() override; // 13
30  bool SetFormEditorID(const char* a_str) override; // 33
31  void UnClone3D(TESObjectREFR* a_ref) override; // 41
32  NiAVObject* Clone3D(TESObjectREFR* a_ref) override; // 4A - { return 0; }
33 
34  // members
36  };
37  static_assert(sizeof(TESSound) == 0x38);
38 }
Definition: BGSSoundDescriptorForm.h:14
Definition: NiAVObject.h:50
Definition: TESBoundAnimObject.h:8
Definition: TESFile.h:17
Definition: TESObjectREFR.h:113
Definition: TESSound.h:9
NiAVObject * Clone3D(TESObjectREFR *a_ref) override
bool Load(TESFile *a_mod) override
bool SetFormEditorID(const char *a_str) override
void InitItemImpl() override
BGSSoundDescriptorForm * descriptor
Definition: TESSound.h:35
static constexpr auto RTTI
Definition: TESSound.h:11
void UnClone3D(TESObjectREFR *a_ref) override
void InitializeData() override
static constexpr auto VTABLE
Definition: TESSound.h:12
static constexpr auto FORMTYPE
Definition: TESSound.h:13
~TESSound() override
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESSound(685345, 393124, 0x1ee4180)
constexpr std::array< REL::VariantID, 1 > VTABLE_TESSound
Definition: Offsets_VTABLE.h:833
Definition: TESSound.h:16
RecordFlag
Definition: TESSound.h:18
@ kDeleted
Definition: TESSound.h:19
@ kIgnored
Definition: TESSound.h:20