Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Sound Struct Reference

Public Member Functions

MCAPI Sound (::Json::Value const &root, ::std::string const &name, float vmin, float vmax, float pmin, float pmax)
MCAPI float getPitch (::Random &random) const
MCAPI float getVolume (::Random &random) const
MCAPI ~Sound ()
MCAPI void * $ctor (::Json::Value const &root, ::std::string const &name, float vmin, float vmax, float pmin, float pmax)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, float > mVolumeMin
::ll::TypedStorage< 4, 4, float > mPitchMin
::ll::TypedStorage< 4, 4, float > mVolumeMax
::ll::TypedStorage< 4, 4, float > mPitchMax

Constructor & Destructor Documentation

◆ Sound()

MCAPI Sound::Sound ( ::Json::Value const & root,
::std::string const & name,
float vmin,
float vmax,
float pmin,
float pmax )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ~Sound()

MCAPI Sound::~Sound ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ getPitch()

MCAPI float Sound::getPitch ( ::Random & random) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getVolume()

MCAPI float Sound::getVolume ( ::Random & random) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * Sound::$ctor ( ::Json::Value const & root,
::std::string const & name,
float vmin,
float vmax,
float pmin,
float pmax )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void Sound::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this struct was generated from the following files:
  • src-server/mc/client/sound/Sound.h
  • src-client/mc/client/sound/Sound.h