CommonLibSSE (Parapets fork)
RE::BSIMusicTrack Class Referenceabstract

#include <BSIMusicTrack.h>

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

Public Types

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
}
 

Public Member Functions

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

stl::enumeration< MUSIC_STATUS, std::uint32_t > trackStatus
 
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSIMusicTrack
 

Member Enumeration Documentation

◆ MUSIC_STATUS

Enumerator
kInactive 
kPlaying 
kPaused 
kFinishing 
kFinished 

◆ TrackType

enum RE::BSIMusicTrack::TrackType : std::uint32_t
strong
Enumerator
kSilentTrack 
kSingleTrack 
kPalette 

Constructor & Destructor Documentation

◆ ~BSIMusicTrack()

virtual RE::BSIMusicTrack::~BSIMusicTrack ( )
virtual

Member Function Documentation

◆ DoClearDucking()

virtual void RE::BSIMusicTrack::DoClearDucking ( )
virtual

◆ DoFinish()

virtual void RE::BSIMusicTrack::DoFinish ( bool  a_immediate,
float  a_fadeTime 
)
pure virtual

◆ DoPause()

virtual void RE::BSIMusicTrack::DoPause ( )
pure virtual

◆ DoPlay()

virtual void RE::BSIMusicTrack::DoPlay ( )
pure virtual

◆ DoSetDuckingAttenuation()

virtual void RE::BSIMusicTrack::DoSetDuckingAttenuation ( std::uint16_t  a_ducking)
virtual

◆ DoUpdate()

virtual void RE::BSIMusicTrack::DoUpdate ( )
pure virtual

◆ GetDurationImpl()

virtual float RE::BSIMusicTrack::GetDurationImpl ( ) const
pure virtual

◆ GetMusicStatus()

virtual MUSIC_STATUS RE::BSIMusicTrack::GetMusicStatus ( ) const
virtual

Reimplemented in RE::BGSMusicTrackFormWrapper.

◆ GetType()

virtual TrackType RE::BSIMusicTrack::GetType ( ) const
pure virtual

◆ TestCanPlay()

virtual bool RE::BSIMusicTrack::TestCanPlay ( ) const
virtual

Member Data Documentation

◆ pad0C

std::uint32_t RE::BSIMusicTrack::pad0C

◆ RTTI

constexpr auto RE::BSIMusicTrack::RTTI = RTTI_BSIMusicTrack
inlinestaticconstexpr

◆ trackStatus

stl::enumeration<MUSIC_STATUS, std::uint32_t> RE::BSIMusicTrack::trackStatus

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