CommonLibSSE NG
Loading...
Searching...
No Matches
RE::BGSMusicSingleTrack Class Reference

#include <BGSMusicSingleTrack.h>

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

Classes

struct  LoopData
 

Public Member Functions

 ~BGSMusicSingleTrack () override
 
void DoUpdate () override
 
void DoPlay () override
 
void DoPause () override
 
void DoFinish (bool a_arg1, float a_arg2) override
 
float GetDurationImpl () const override
 
TrackType GetType () const override
 
void DoSetDuckingAttenuation (std::uint16_t a_val) override
 
void DoClearDucking () override
 
void Load (TESFile *a_mod) override
 
- Public Member Functions inherited from RE::BGSMusicTrack
 ~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 bool TestCanPlay () const
 
virtual MUSIC_STATUS GetMusicStatus () const
 
virtual void DoSetDuckingAttenuation (std::uint16_t a_ducking)
 
virtual void DoClearDucking ()
 

Public Attributes

BSResource::ID trackID
 
BSResource::ID finaleID
 
BSTArray< float > cuePoints
 
std::uint32_t nextCuePoint
 
std::uint32_t loopsRemaining
 
std::uint32_t lastKnownPlaybackPosition
 
std::uint32_t pad5C
 
LoopDataloopData
 
BSSoundHandle trackHandle
 
BSSoundHandle finaleHandle
 
- Public Attributes inherited from RE::BGSMusicTrack
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_BGSMusicSingleTrack
 
- Static Public Attributes inherited from RE::BGSMusicTrack
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

◆ ~BGSMusicSingleTrack()

RE::BGSMusicSingleTrack::~BGSMusicSingleTrack ( )
override

Member Function Documentation

◆ DoClearDucking()

void RE::BGSMusicSingleTrack::DoClearDucking ( )
overridevirtual

Reimplemented from RE::BSIMusicTrack.

◆ DoFinish()

void RE::BGSMusicSingleTrack::DoFinish ( bool  a_arg1,
float  a_arg2 
)
overridevirtual

Implements RE::BSIMusicTrack.

◆ DoPause()

void RE::BGSMusicSingleTrack::DoPause ( )
overridevirtual

Implements RE::BSIMusicTrack.

◆ DoPlay()

void RE::BGSMusicSingleTrack::DoPlay ( )
overridevirtual

Implements RE::BSIMusicTrack.

◆ DoSetDuckingAttenuation()

void RE::BGSMusicSingleTrack::DoSetDuckingAttenuation ( std::uint16_t  a_val)
overridevirtual

Reimplemented from RE::BSIMusicTrack.

◆ DoUpdate()

void RE::BGSMusicSingleTrack::DoUpdate ( )
overridevirtual

Implements RE::BSIMusicTrack.

◆ GetDurationImpl()

float RE::BGSMusicSingleTrack::GetDurationImpl ( ) const
overridevirtual

Implements RE::BSIMusicTrack.

◆ GetType()

TrackType RE::BGSMusicSingleTrack::GetType ( ) const
overridevirtual

Implements RE::BSIMusicTrack.

◆ Load()

void RE::BGSMusicSingleTrack::Load ( TESFile a_mod)
overridevirtual

Implements RE::BGSMusicTrack.

Member Data Documentation

◆ cuePoints

BSTArray<float> RE::BGSMusicSingleTrack::cuePoints

◆ finaleHandle

BSSoundHandle RE::BGSMusicSingleTrack::finaleHandle

◆ finaleID

BSResource::ID RE::BGSMusicSingleTrack::finaleID

◆ lastKnownPlaybackPosition

std::uint32_t RE::BGSMusicSingleTrack::lastKnownPlaybackPosition

◆ loopData

LoopData* RE::BGSMusicSingleTrack::loopData

◆ loopsRemaining

std::uint32_t RE::BGSMusicSingleTrack::loopsRemaining

◆ nextCuePoint

std::uint32_t RE::BGSMusicSingleTrack::nextCuePoint

◆ pad5C

std::uint32_t RE::BGSMusicSingleTrack::pad5C

◆ RTTI

constexpr auto RE::BGSMusicSingleTrack::RTTI = RTTI_BGSMusicSingleTrack
inlinestaticconstexpr

◆ trackHandle

BSSoundHandle RE::BGSMusicSingleTrack::trackHandle

◆ trackID

BSResource::ID RE::BGSMusicSingleTrack::trackID

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