diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-02-07 23:15:42 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-02-09 15:31:39 +0100 |
commit | 00f952bcf1f886d6bcb58a162e5c157ad26d4945 (patch) | |
tree | 42de960838ce444a1c5ded501e4f8faac3379c7f /src/WebRTCLibDataChannel.hpp | |
parent | d7032f7b852e2e0acfc6cc1cdd1a17238529abac (diff) | |
download | fork-godot-webrtc-native-00f952bcf1f886d6bcb58a162e5c157ad26d4945.tar.gz fork-godot-webrtc-native-00f952bcf1f886d6bcb58a162e5c157ad26d4945.tar.bz2 fork-godot-webrtc-native-00f952bcf1f886d6bcb58a162e5c157ad26d4945.zip |
Update to Godot 4.0 rc1.
Diffstat (limited to 'src/WebRTCLibDataChannel.hpp')
-rw-r--r-- | src/WebRTCLibDataChannel.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/WebRTCLibDataChannel.hpp b/src/WebRTCLibDataChannel.hpp index 2525002..995c204 100644 --- a/src/WebRTCLibDataChannel.hpp +++ b/src/WebRTCLibDataChannel.hpp @@ -79,9 +79,9 @@ public: /* PacketPeer */ virtual godot::Error _get_packet(const uint8_t **r_buffer, int32_t *r_len) override; - virtual godot::Error _put_packet(const uint8_t *p_buffer, int64_t p_len) override; - virtual int64_t _get_available_packet_count() const override; - virtual int64_t _get_max_packet_size() const override; + virtual godot::Error _put_packet(const uint8_t *p_buffer, int32_t p_len) override; + virtual int32_t _get_available_packet_count() const override; + virtual int32_t _get_max_packet_size() const override; /* WebRTCDataChannel */ godot::Error _poll() override; @@ -94,12 +94,12 @@ public: ChannelState _get_ready_state() const override; godot::String _get_label() const override; bool _is_ordered() const override; - int64_t _get_id() const override; - int64_t _get_max_packet_life_time() const override; - int64_t _get_max_retransmits() const override; + int32_t _get_id() const override; + int32_t _get_max_packet_life_time() const override; + int32_t _get_max_retransmits() const override; godot::String _get_protocol() const override; bool _is_negotiated() const override; - int64_t _get_buffered_amount() const override; + int32_t _get_buffered_amount() const override; WebRTCLibDataChannel(); ~WebRTCLibDataChannel(); |