diff options
author | David Snopek <dsnopek@gmail.com> | 2024-01-20 19:40:43 -0600 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2024-02-12 13:29:18 -0600 |
commit | be11002e410bbd8e01ef3e91682a94b50dba1dd8 (patch) | |
tree | df79badf5af8e1d0b24068fc587527c1906a7b85 /core/object/class_db.h | |
parent | 51991e20143a39e9ef0107163eaf283ca0a761ea (diff) | |
download | redot-engine-be11002e410bbd8e01ef3e91682a94b50dba1dd8.tar.gz |
Allow GDExtensions to register virtual methods and call them on scripts
Diffstat (limited to 'core/object/class_db.h')
-rw-r--r-- | core/object/class_db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/class_db.h b/core/object/class_db.h index 7a4ee1afa4..7697af98e1 100644 --- a/core/object/class_db.h +++ b/core/object/class_db.h @@ -410,6 +410,7 @@ public: static void add_virtual_method(const StringName &p_class, const MethodInfo &p_method, bool p_virtual = true, const Vector<String> &p_arg_names = Vector<String>(), bool p_object_core = false); static void get_virtual_methods(const StringName &p_class, List<MethodInfo> *p_methods, bool p_no_inheritance = false); + static void add_extension_class_virtual_method(const StringName &p_class, const GDExtensionClassVirtualMethodInfo *p_method_info); static void bind_integer_constant(const StringName &p_class, const StringName &p_enum, const StringName &p_name, int64_t p_constant, bool p_is_bitfield = false); static void get_integer_constant_list(const StringName &p_class, List<String> *p_constants, bool p_no_inheritance = false); |