#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(), pos, and type.
std::unordered_set<session_t> ServerPlayingSound::clients |
Referenced by Server::DeleteClient(), Server::fadeSound(), Server::handleCommand_RemovedSounds(), and Server::stopSound().
std::string ServerPlayingSound::exclude_player |
float ServerPlayingSound::gain = 1.0f |
Referenced by Server::fadeSound().
float ServerPlayingSound::max_hear_distance = 32 * BS |
u16 ServerPlayingSound::object = 0 |
SoundSpec ServerPlayingSound::spec |
std::string ServerPlayingSound::to_player |
SoundLocation ServerPlayingSound::type = SoundLocation::Local |
Referenced by getPos().