add entity events: on_attacked, on_used

This commit is contained in:
MihailRis
2024-07-16 14:04:05 +03:00
parent a36ffaacd9
commit 50050dbe40
6 changed files with 44 additions and 0 deletions
+2
View File
@@ -24,6 +24,8 @@ struct entity_funcs_set {
bool on_save;
bool on_aim_on;
bool on_aim_off;
bool on_attacked;
bool on_used;
};
struct EntityDef;