add on_update event

This commit is contained in:
MihailRis
2024-06-29 22:19:42 +03:00
parent bb1c0b4b44
commit 982c8b132d
7 changed files with 41 additions and 10 deletions
+1
View File
@@ -79,6 +79,7 @@ namespace scripting {
scriptenv on_entity_spawn(const EntityDef& def, entityid_t eid, entity_funcs_set&);
bool on_entity_despawn(const EntityDef& def, const Entity& entity);
bool on_entity_grounded(const EntityDef& def, const Entity& entity);
void on_entities_update();
/// @brief Called on UI view show
void on_ui_open(