-
-
Notifications
You must be signed in to change notification settings - Fork 669
Open
Labels
discussiontopic:gdextensionThis relates to the new Godot 4 extension implementationThis relates to the new Godot 4 extension implementation
Milestone
Description
Godot version
4.3 beta 1
godot-cpp version
master
System information
Windows 10 and Linux Mint
Issue description
I recently updated the godot-cpp for my project and noticed now that abstract classes require register_abstract_class<>()
. Yet, if we want an internal abstract class we can't with any of the public functions. Would there be a problem if a public function could be provided allowing any possible combination? Or in other words, make the _register_class()
template function public.
While taking a look at the class_db.hpp file I noticed there are a few macros meant for class registration, however none of them takes into account a project that doesn't use the godot namespace.
Steps to reproduce
Minimal reproduction project
Metadata
Metadata
Assignees
Labels
discussiontopic:gdextensionThis relates to the new Godot 4 extension implementationThis relates to the new Godot 4 extension implementation