godotengine / godot-headers

Headers for the Godot API supplied by the GDNative module.
MIT License
381 stars 91 forks source link

Add get_buffered_amount() to WebRTCDataChannel (godot-headers) #94

Closed dsnopek closed 3 years ago

dsnopek commented 3 years ago

This updates the headers to include the new godot_net_webrtc_data_channel_ext struct added in https://github.com/godotengine/godot/pull/50659

This should allow PR https://github.com/godotengine/webrtc-native/pull/43 to build with support for the new method.

dsnopek commented 3 years ago

I just updated the header with the #define change in https://github.com/godotengine/godot/pull/50706

akien-mga commented 3 years ago

Thanks!

akien-mga commented 3 years ago

FYI, I reverted this PR since as described above, these headers are only meant to be copy pasted from the Godot repo, and the current master branch was still tracking 3.3, which doesn't have this API.

I'll make a PR to sync with current 3.x headers to prepare for the 3.4 release. It should include this change too.