#include <sound.h>
◆ SimpleSoundSpec()
SimpleSoundSpec::SimpleSoundSpec |
( |
const std::string & |
name = "" , |
|
|
float |
gain = 1.0f , |
|
|
float |
fade = 0.0f , |
|
|
float |
pitch = 1.0f |
|
) |
| |
|
inline |
◆ deSerialize()
void SimpleSoundSpec::deSerialize |
( |
std::istream & |
is, |
|
|
u8 |
cf_version |
|
) |
| |
|
inline |
◆ exists()
bool SimpleSoundSpec::exists |
( |
| ) |
const |
|
inline |
◆ serialize()
void SimpleSoundSpec::serialize |
( |
std::ostream & |
os, |
|
|
u8 |
cf_version |
|
) |
| const |
|
inline |
◆ fade
float SimpleSoundSpec::fade = 0.0f |
◆ gain
float SimpleSoundSpec::gain = 1.0f |
◆ name
std::string SimpleSoundSpec::name |
Referenced by deSerialize(), exists(), Game::handleDigging(), ModApiClient::l_sound_play(), ISoundManager::playSound(), Server::playSound(), ISoundManager::playSoundAt(), Game::processPlayerInteraction(), push_soundspec(), read_soundspec(), and serialize().
◆ pitch
float SimpleSoundSpec::pitch = 1.0f |
The documentation for this struct was generated from the following file: