summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-02-07 23:15:42 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-02-09 15:31:39 +0100
commit00f952bcf1f886d6bcb58a162e5c157ad26d4945 (patch)
tree42de960838ce444a1c5ded501e4f8faac3379c7f /src/net
parentd7032f7b852e2e0acfc6cc1cdd1a17238529abac (diff)
downloadfork-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/net')
-rw-r--r--src/net/WebRTCDataChannelNative.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/WebRTCDataChannelNative.hpp b/src/net/WebRTCDataChannelNative.hpp
index d00929d..9df9706 100644
--- a/src/net/WebRTCDataChannelNative.hpp
+++ b/src/net/WebRTCDataChannelNative.hpp
@@ -119,21 +119,21 @@ public:
virtual ChannelState _get_ready_state() const = 0;
virtual godot::String _get_label() const = 0;
virtual bool _is_ordered() const = 0;
- virtual int64_t _get_id() const = 0;
- virtual int64_t _get_max_packet_life_time() const = 0;
- virtual int64_t _get_max_retransmits() const = 0;
+ virtual int32_t _get_id() const = 0;
+ virtual int32_t _get_max_packet_life_time() const = 0;
+ virtual int32_t _get_max_retransmits() const = 0;
virtual godot::String _get_protocol() const = 0;
virtual bool _is_negotiated() const = 0;
- virtual int64_t _get_buffered_amount() const = 0;
+ virtual int32_t _get_buffered_amount() const = 0;
virtual godot::Error _poll() = 0;
virtual void _close() = 0;
/* PacketPeer */
virtual godot::Error _get_packet(const uint8_t **r_buffer, int32_t *r_len) = 0;
- virtual godot::Error _put_packet(const uint8_t *p_buffer, int64_t p_len) = 0;
- virtual int64_t _get_available_packet_count() const = 0;
- virtual int64_t _get_max_packet_size() const = 0;
+ virtual godot::Error _put_packet(const uint8_t *p_buffer, int32_t p_len) = 0;
+ virtual int32_t _get_available_packet_count() const = 0;
+ virtual int32_t _get_max_packet_size() const = 0;
~WebRTCDataChannelNative();
};