CommonLibSSE NG
RE::BGSMusicTrack Class Referenceabstract

#include <BGSMusicTrack.h>

Inheritance diagram for RE::BGSMusicTrack:
RE::BSIMusicTrack RE::BGSMusicPaletteTrack RE::BGSMusicSilenceTrack RE::BGSMusicSingleTrack

Public Member Functions

 ~BGSMusicTrack () override
 
bool TestCanPlay () const override
 
virtual void InitItem (TESForm *a_form)
 
virtual void Load (TESFile *a_mod)=0
 
- Public Member Functions inherited from RE::BSIMusicTrack
virtual ~BSIMusicTrack ()
 
virtual void DoUpdate ()=0
 
virtual void DoPlay ()=0
 
virtual void DoPause ()=0
 
virtual void DoFinish (bool a_immediate, float a_fadeTime)=0
 
virtual float GetDurationImpl () const =0
 
virtual TrackType GetType () const =0
 
virtual MUSIC_STATUS GetMusicStatus () const
 
virtual void DoSetDuckingAttenuation (std::uint16_t a_ducking)
 
virtual void DoClearDucking ()
 

Public Attributes

TESCondition conditions
 
std::uint64_t unk18
 
- Public Attributes inherited from RE::BSIMusicTrack
stl::enumeration< MUSIC_STATUS, std::uint32_t > trackStatus
 
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BGSMusicTrack
 
- Static Public Attributes inherited from RE::BSIMusicTrack
static constexpr auto RTTI = RTTI_BSIMusicTrack
 

Additional Inherited Members

- Public Types inherited from RE::BSIMusicTrack
enum class  TrackType : std::uint32_t { kSilentTrack = 0xA1A9C4D5 , kSingleTrack = 0x6ED7E048 , kPalette = 0x23F678C3 }
 
enum class  MUSIC_STATUS {
  kInactive = 0 , kPlaying = 1 , kPaused = 2 , kFinishing = 3 ,
  kFinished = 4
}
 

Constructor & Destructor Documentation

◆ ~BGSMusicTrack()

RE::BGSMusicTrack::~BGSMusicTrack ( )
override

Member Function Documentation

◆ InitItem()

virtual void RE::BGSMusicTrack::InitItem ( TESForm a_form)
virtual

Reimplemented in RE::BGSMusicPaletteTrack.

◆ Load()

virtual void RE::BGSMusicTrack::Load ( TESFile a_mod)
pure virtual

◆ TestCanPlay()

bool RE::BGSMusicTrack::TestCanPlay ( ) const
overridevirtual

Reimplemented from RE::BSIMusicTrack.

Member Data Documentation

◆ conditions

TESCondition RE::BGSMusicTrack::conditions

◆ RTTI

constexpr auto RE::BGSMusicTrack::RTTI = RTTI_BGSMusicTrack
inlinestaticconstexpr

◆ unk18

std::uint64_t RE::BGSMusicTrack::unk18

The documentation for this class was generated from the following file: