diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-09-19 18:55:25 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-09-19 18:55:25 +0200 |
commit | 950d2c9b3e10cbace9236e820c8119d1abb9e01f (patch) | |
tree | c0d9c1ca33c0251667d0a8cb59f25de65996dc69 /src/script/cpp_api/s_client.h | |
parent | fb4815c660d6d9cfc9df76a3ba763095b9701925 (diff) | |
download | dragonfireclient-950d2c9b3e10cbace9236e820c8119d1abb9e01f.tar.xz |
Add ClientObjectRef:remove and return true in on_object_add callback to remove newly added object
Diffstat (limited to 'src/script/cpp_api/s_client.h')
-rw-r--r-- | src/script/cpp_api/s_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_client.h b/src/script/cpp_api/s_client.h index 2f9ce7aa3..6d1a05943 100644 --- a/src/script/cpp_api/s_client.h +++ b/src/script/cpp_api/s_client.h @@ -65,7 +65,7 @@ public: bool on_spawn_particle(struct ParticleParameters param); void on_object_properties_change(s16 id); void on_object_hp_change(s16 id); - void on_object_add(s16 id); + bool on_object_add(s16 id); bool on_inventory_open(Inventory *inventory); void open_enderchest(); |