mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improve some signal bindings to use specific Object
subtypes
This commit is contained in:
parent
38c6611b91
commit
7c3003fcbe
6 changed files with 10 additions and 7 deletions
|
@ -69,7 +69,7 @@ void WebRTCPeerConnection::_bind_methods() {
|
|||
|
||||
ADD_SIGNAL(MethodInfo("session_description_created", PropertyInfo(Variant::STRING, "type"), PropertyInfo(Variant::STRING, "sdp")));
|
||||
ADD_SIGNAL(MethodInfo("ice_candidate_created", PropertyInfo(Variant::STRING, "media"), PropertyInfo(Variant::INT, "index"), PropertyInfo(Variant::STRING, "name")));
|
||||
ADD_SIGNAL(MethodInfo("data_channel_received", PropertyInfo(Variant::OBJECT, "channel")));
|
||||
ADD_SIGNAL(MethodInfo("data_channel_received", PropertyInfo(Variant::OBJECT, "channel", PROPERTY_HINT_RESOURCE_TYPE, "WebRTCDataChannel")));
|
||||
|
||||
BIND_ENUM_CONSTANT(STATE_NEW);
|
||||
BIND_ENUM_CONSTANT(STATE_CONNECTING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue