mirror of
https://github.com/Mestima/GodotHook.git
synced 2025-05-04 07:10:23 +00:00
Module path renamed: hook -> GodotHook
This commit is contained in:
parent
ef1ab130c0
commit
564ddd4aaa
@ -4,13 +4,13 @@
|
|||||||
#include "core/object/class_db.h"
|
#include "core/object/class_db.h"
|
||||||
#include "hook.h"
|
#include "hook.h"
|
||||||
|
|
||||||
void initialize_hook_module(ModuleInitializationLevel p_level) {
|
void initialize_GodotHook_module(ModuleInitializationLevel p_level) {
|
||||||
if (p_level == MODULE_INITIALIZATION_LEVEL_SCENE) {
|
if (p_level == MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||||
ClassDB::register_class<Hook>();
|
ClassDB::register_class<Hook>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void uninitialize_hook_module(ModuleInitializationLevel p_level) {
|
void uninitialize_GodotHook_module(ModuleInitializationLevel p_level) {
|
||||||
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
#include "modules/register_module_types.h"
|
#include "modules/register_module_types.h"
|
||||||
|
|
||||||
void initialize_hook_module(ModuleInitializationLevel p_level);
|
void initialize_GodotHook_module(ModuleInitializationLevel p_level);
|
||||||
void uninitialize_hook_module(ModuleInitializationLevel p_level);
|
void uninitialize_GodotHook_module(ModuleInitializationLevel p_level);
|
||||||
/* yes, the word in the middle must be the same as the module folder name */
|
/* yes, the word in the middle must be the same as the module folder name */
|
Loading…
x
Reference in New Issue
Block a user