mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add 'on_breaking', 'on_block_breaking' events
This commit is contained in:
parent
c3f22c6854
commit
4363883728
5 changed files with 60 additions and 82 deletions
|
|
@ -77,6 +77,9 @@ namespace scripting {
|
|||
void on_block_replaced(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
void on_block_breaking(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
void on_block_broken(
|
||||
Player* player, const Block& block, const glm::ivec3& pos
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue