CommonLibSSE NG
Loading...
Searching...
No Matches
BGSMusicTrack.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/T/TESCondition.h"
5
6namespace RE
7{
8 class TESFile;
9 class TESForm;
10
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_BGSMusicTrack;
15
16 ~BGSMusicTrack() override; // 00
17
18 // override (BSIMusicTrack)
19 [[nodiscard]] bool TestCanPlay() const override; // 07 - { return conditions ? conditions->Run(g_thePlayer, g_thePlayer) : true; }
20
21 // add
22 virtual void InitItem(TESForm* a_form); // 0B
23 virtual void Load(TESFile* a_mod) = 0; // 0C
24
25 // members
27 std::uint64_t unk18; // 18
28 };
29 static_assert(sizeof(BGSMusicTrack) == 0x20);
30}
Definition BGSMusicTrack.h:12
~BGSMusicTrack() override
std::uint64_t unk18
Definition BGSMusicTrack.h:27
bool TestCanPlay() const override
virtual void InitItem(TESForm *a_form)
TESCondition conditions
Definition BGSMusicTrack.h:26
static constexpr auto RTTI
Definition BGSMusicTrack.h:14
virtual void Load(TESFile *a_mod)=0
Definition BSIMusicTrack.h:6
Definition TESCondition.h:987
Definition TESFile.h:15
Definition TESForm.h:35
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSMusicTrack(685261, 393036, 0x1ee2778)