1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Improve ServerEnvironment::getRemovedActiveObjects() in many ways

This commit is contained in:
sfan5 2024-03-06 18:57:01 +01:00
parent 751ede516b
commit 178943b4b7
7 changed files with 56 additions and 73 deletions

View file

@ -239,8 +239,9 @@ public:
s32 playSound(ServerPlayingSound &params, bool ephemeral=false);
void stopSound(s32 handle);
void fadeSound(s32 handle, float step, float gain);
// Stop all sounds attached to an object for a certain client
void stopAttachedSounds(session_t peer_id, u16 object_id);
// Stop all sounds attached to given objects, for a certain client
void stopAttachedSounds(session_t peer_id,
const std::vector<u16> &object_ids);
// Envlock
std::set<std::string> getPlayerEffectivePrivs(const std::string &name);