#include <server.h>
Public Member Functions | |
v3f | getPos (ServerEnvironment *env, bool *pos_exists) const |
Public Attributes | |
SoundLocation | type = SoundLocation::Local |
float | gain = 1.0f |
float | max_hear_distance = 32 * BS |
v3f | pos |
u16 | object = 0 |
std::string | to_player |
std::string | exclude_player |
SoundSpec | spec |
std::unordered_set< session_t > | clients |
v3f ServerPlayingSound::getPos | ( | ServerEnvironment * | env, |
bool * | pos_exists ) const |
References ServerEnvironment::getActiveObject(), ServerActiveObject::getBasePosition(), Local, Object, pos, Position, and type.
Referenced by Server::playSound().
std::unordered_set<session_t> ServerPlayingSound::clients |
std::string ServerPlayingSound::exclude_player |
Referenced by Server::playSound(), and read_server_sound_params().
float ServerPlayingSound::gain = 1.0f |
Referenced by Server::fadeSound(), Server::playSound(), and read_server_sound_params().
float ServerPlayingSound::max_hear_distance = 32 * BS |
Referenced by Server::playSound(), and read_server_sound_params().
u16 ServerPlayingSound::object = 0 |
Referenced by Server::playSound(), and read_server_sound_params().
v3f ServerPlayingSound::pos |
Referenced by getPos(), and read_server_sound_params().
SoundSpec ServerPlayingSound::spec |
Referenced by ModApiServer::l_sound_play(), Server::playSound(), and read_server_sound_params().
std::string ServerPlayingSound::to_player |
Referenced by Server::playSound(), and read_server_sound_params().
SoundLocation ServerPlayingSound::type = SoundLocation::Local |
Referenced by getPos(), Server::playSound(), and read_server_sound_params().