Merge pull request #1164 from dsnopek/classdb-singleton-alternate

Add static methods to `ClassDB` for the methods bound to the `ClassDB` singleton
This commit is contained in:
David Snopek
2023-09-19 10:33:15 -05:00
committed by GitHub
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>
@@ -139,6 +141,8 @@ public:
static void initialize(GDExtensionInitializationLevel p_level);
static void deinitialize(GDExtensionInitializationLevel p_level);
CLASSDB_SINGLETON_FORWARD_METHODS;
};
#define BIND_CONSTANT(m_constant) \