summaryrefslogtreecommitdiff
path: root/modules/websocket/websocket_multiplayer_peer.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-06-15 17:13:26 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-06-15 17:21:08 +0200
commit5b2f098ed4444572432eb2e67c154f89852039ec (patch)
tree5ebc7fdcad6dff1e48fc4fece39000d28a2b22d1 /modules/websocket/websocket_multiplayer_peer.h
parentee90da4acbf8769d37b32e971434733d051a5e49 (diff)
Expose WebSocket set_buffers and document it.
Diffstat (limited to 'modules/websocket/websocket_multiplayer_peer.h')
-rw-r--r--modules/websocket/websocket_multiplayer_peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/websocket/websocket_multiplayer_peer.h b/modules/websocket/websocket_multiplayer_peer.h
index b050449ee0..089bc25fe9 100644
--- a/modules/websocket/websocket_multiplayer_peer.h
+++ b/modules/websocket/websocket_multiplayer_peer.h
@@ -97,6 +97,7 @@ public:
virtual Error put_packet(const uint8_t *p_buffer, int p_buffer_size);
/* WebSocketPeer */
+ virtual Error set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffer, int p_out_packets) = 0;
virtual Ref<WebSocketPeer> get_peer(int p_peer_id) const = 0;
void _process_multiplayer(Ref<WebSocketPeer> p_peer, uint32_t p_peer_id);