mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add entity on_save event and SAVED_DATA variable
This commit is contained in:
parent
e301dbe164
commit
08cc78289d
6 changed files with 36 additions and 4 deletions
|
|
@ -183,6 +183,7 @@ public:
|
|||
return std::nullopt;
|
||||
}
|
||||
|
||||
void onSave(const Entity& entity);
|
||||
std::vector<Entity> getAllInside(AABB aabb);
|
||||
void despawn(entityid_t id);
|
||||
dynamic::Value serialize(const Entity& entity);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue