Add static methods to ClassDB for the methods bound to the ClassDB singleton

(cherry picked from commit 6f913563d8)
This commit is contained in:
David Snopek
2023-07-06 21:16:27 -05:00
parent 590e267902
commit bc82ae8b0b
3 changed files with 71 additions and 12 deletions

View File

@@ -38,6 +38,8 @@
#include <godot_cpp/core/method_bind.hpp>
#include <godot_cpp/core/object.hpp>
#include <godot_cpp/classes/class_db_singleton.hpp>
#include <list>
#include <set>
#include <string>
@@ -146,6 +148,8 @@ public:
static void initialize(GDExtensionInitializationLevel p_level);
static void deinitialize(GDExtensionInitializationLevel p_level);
CLASSDB_SINGLETON_FORWARD_METHODS;
};
#define BIND_CONSTANT(m_constant) \