You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Convert WebSocket module to use PacketBuffer class
This commit is contained in:
@@ -100,13 +100,6 @@ int WebSocketMultiplayerPeer::get_available_packet_count() const {
|
||||
return _incoming_packets.size();
|
||||
}
|
||||
|
||||
int WebSocketMultiplayerPeer::get_max_packet_size() const {
|
||||
|
||||
ERR_FAIL_COND_V(!_is_multiplayer, ERR_UNCONFIGURED);
|
||||
|
||||
return MAX_PACKET_SIZE;
|
||||
}
|
||||
|
||||
Error WebSocketMultiplayerPeer::get_packet(const uint8_t **r_buffer, int &r_buffer_size) {
|
||||
|
||||
r_buffer_size = 0;
|
||||
|
||||
Reference in New Issue
Block a user