You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Discern between virtual and abstract class bindings
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
This commit is contained in:
@@ -47,7 +47,7 @@ void register_webrtc_types() {
|
||||
ClassDB::register_custom_instance_class<WebRTCPeerConnection>();
|
||||
GDREGISTER_CLASS(WebRTCPeerConnectionExtension);
|
||||
|
||||
GDREGISTER_VIRTUAL_CLASS(WebRTCDataChannel);
|
||||
GDREGISTER_ABSTRACT_CLASS(WebRTCDataChannel);
|
||||
GDREGISTER_CLASS(WebRTCDataChannelExtension);
|
||||
|
||||
GDREGISTER_CLASS(WebRTCMultiplayerPeer);
|
||||
|
||||
Reference in New Issue
Block a user