Change initialization to allow custom level callbacks
Now it needs a callback for each level so custom logic (like loading singletons) can be performed.
This commit is contained in:
committed by
Bastiaan Olij
parent
dfa526ce16
commit
aef0f1e248
@@ -40,6 +40,7 @@
|
||||
namespace godot {
|
||||
|
||||
std::unordered_map<std::string, ClassDB::ClassInfo> ClassDB::classes;
|
||||
GDNativeInitializationLevel ClassDB::current_level = GDNATIVE_INITIALIZATION_CORE;
|
||||
|
||||
MethodDefinition D_METHOD(const char *p_name) {
|
||||
return MethodDefinition(p_name);
|
||||
|
||||
Reference in New Issue
Block a user