diff options
| author | David Snopek <dsnopek@gmail.com> | 2021-07-20 11:44:40 -0500 |
|---|---|---|
| committer | David Snopek <dsnopek@gmail.com> | 2021-07-20 12:58:39 -0500 |
| commit | abb45f5fe7a1d5a44511675ee8695cc3859698b1 (patch) | |
| tree | fe1e1ca683c10b22b44b977bd6fa73dd76a10434 /modules/webrtc/webrtc_data_channel.cpp | |
| parent | bb037de95c78946746579b6d36fce78cd9b24065 (diff) | |
| download | redot-engine-abb45f5fe7a1d5a44511675ee8695cc3859698b1.tar.gz | |
Add get_buffered_amount() to WebRTCDataChannel
Diffstat (limited to 'modules/webrtc/webrtc_data_channel.cpp')
| -rw-r--r-- | modules/webrtc/webrtc_data_channel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/webrtc/webrtc_data_channel.cpp b/modules/webrtc/webrtc_data_channel.cpp index 004112f992..ca520a733d 100644 --- a/modules/webrtc/webrtc_data_channel.cpp +++ b/modules/webrtc/webrtc_data_channel.cpp @@ -46,6 +46,7 @@ void WebRTCDataChannel::_bind_methods() { ClassDB::bind_method(D_METHOD("get_max_retransmits"), &WebRTCDataChannel::get_max_retransmits); ClassDB::bind_method(D_METHOD("get_protocol"), &WebRTCDataChannel::get_protocol); ClassDB::bind_method(D_METHOD("is_negotiated"), &WebRTCDataChannel::is_negotiated); + ClassDB::bind_method(D_METHOD("get_buffered_amount"), &WebRTCDataChannel::get_buffered_amount); ADD_PROPERTY(PropertyInfo(Variant::INT, "write_mode", PROPERTY_HINT_ENUM), "set_write_mode", "get_write_mode"); |
