Handle class name conflicts in GodotCustomClass registration #10

Open
opened 2026-10-24 16:32:34 -07:00 by queertherians.org · 0 comments
Owner

We will need to check if the class name already exists before it is registered, and if so, a static flag in the GodotClass should be set in such a way that native-side instantiations should fail (std::expected), since the class isn't even registered. A static "exists" accessor should return the status of this flag too.

We will need to check if the class name already exists before it is registered, and if so, a static flag in the GodotClass should be set in such a way that native-side instantiations should fail (std::expected), since the class isn't even registered. A static "exists" accessor should return the status of this flag too.
Sign in to join this conversation.
No description provided.