2021-08-30 04:58:10 +02:00
|
|
|
#pragma once
|
|
|
|
|
2023-03-07 19:34:33 +01:00
|
|
|
#include "game/scripting/lua/error.hpp"
|
|
|
|
|
2021-08-30 04:58:10 +02:00
|
|
|
namespace notifies
|
|
|
|
{
|
|
|
|
extern bool hook_enabled;
|
|
|
|
|
2022-08-26 03:59:50 +02:00
|
|
|
void set_lua_hook(const char* pos, const sol::protected_function&);
|
|
|
|
void set_gsc_hook(const char* source, const char* target);
|
|
|
|
void clear_hook(const char* pos);
|
|
|
|
size_t get_hook_count();
|
|
|
|
|
2021-09-17 00:12:54 +02:00
|
|
|
void add_entity_damage_callback(const sol::protected_function&);
|
2021-08-30 04:58:10 +02:00
|
|
|
void clear_callbacks();
|
|
|
|
}
|