From 00f952bcf1f886d6bcb58a162e5c157ad26d4945 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 7 Feb 2023 23:15:42 +0100 Subject: Update to Godot 4.0 rc1. --- src/net/WebRTCDataChannelNative.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/net/WebRTCDataChannelNative.hpp') 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(); }; -- cgit v1.2.3