CommonLibSSE (Parapets fork)
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 FORMTYPE = FormType::Sound;
13 
14  struct RecordFlags
15  {
16  enum RecordFlag : std::uint32_t
17  {
18  kDeleted = 1 << 5,
19  kIgnored = 1 << 12
20  };
21  };
22 
23  ~TESSound() override; // 00
24 
25  // override (TESBoundAnimObject)
26  void InitializeData() override; // 04
27  bool Load(TESFile* a_mod) override; // 06
28  void InitItemImpl() override; // 13
29  bool SetFormEditorID(const char* a_str) override; // 33
30  void UnClone3D(TESObjectREFR* a_ref) override; // 41
31  NiAVObject* Clone3D(TESObjectREFR* a_ref) override; // 4A - { return 0; }
32 
33  // members
35  };
36  static_assert(sizeof(TESSound) == 0x38);
37 }
Definition: BGSSoundDescriptorForm.h:14
Definition: NiAVObject.h:45
Definition: TESBoundAnimObject.h:8
Definition: TESFile.h:14
Definition: TESObjectREFR.h:105
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:34
static constexpr auto RTTI
Definition: TESSound.h:11
void UnClone3D(TESObjectREFR *a_ref) override
void InitializeData() override
static constexpr auto FORMTYPE
Definition: TESSound.h:12
~TESSound() override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESSound
Definition: Offsets_RTTI.h:6073
Definition: TESSound.h:15
RecordFlag
Definition: TESSound.h:17
@ kDeleted
Definition: TESSound.h:18
@ kIgnored
Definition: TESSound.h:19