diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-24 15:01:52 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-24 15:01:52 +0100 |
commit | fb4d54ee30ee9b8394bac18418b88adb0f9cd953 (patch) | |
tree | bb409836bdfdbbc75b9c40216aee28bad39165c5 /src/script/cpp_api/s_client.h | |
parent | 50629cc6a1830783580811cedec1fd8ab559f40b (diff) | |
download | dragonfireclient-fb4d54ee30ee9b8394bac18418b88adb0f9cd953.tar.xz |
Added minetest.register_on_play_sound
Diffstat (limited to 'src/script/cpp_api/s_client.h')
-rw-r--r-- | src/script/cpp_api/s_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/cpp_api/s_client.h b/src/script/cpp_api/s_client.h index 2ad3bcfad..8db253d56 100644 --- a/src/script/cpp_api/s_client.h +++ b/src/script/cpp_api/s_client.h @@ -58,6 +58,7 @@ public: bool on_placenode(const PointedThing &pointed, const ItemDefinition &item); bool on_item_use(const ItemStack &item, const PointedThing &pointed); bool on_recieve_physics_override(float override_speed, float override_jump, float override_gravity, bool sneak, bool sneak_glitch, bool new_move); + bool on_play_sound(SimpleSoundSpec spec); bool on_inventory_open(Inventory *inventory); void open_enderchest(); |