mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
add 'on_block_removed' event
This commit is contained in:
parent
b3e5f2a1c0
commit
f721731ecc
12 changed files with 61 additions and 16 deletions
|
|
@ -28,6 +28,7 @@ struct BlockRegisterEvent {
|
|||
static inline constexpr uint8_t REGISTER_BIT = 0x1;
|
||||
static inline constexpr uint8_t UPDATING_BIT = 0x2;
|
||||
static inline constexpr uint8_t PRESENT_EVENT_BIT = 0x4;
|
||||
static inline constexpr uint8_t REMOVED_EVENT_BIT = 0x8;
|
||||
uint8_t bits;
|
||||
blockid_t id;
|
||||
glm::ivec3 coord;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue