mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Expose WebSocket set_buffers and document it.
This commit is contained in:
parent
ee90da4acb
commit
5b2f098ed4
3 changed files with 20 additions and 0 deletions
|
@ -87,6 +87,7 @@ void WebSocketMultiplayerPeer::_clear() {
|
|||
|
||||
void WebSocketMultiplayerPeer::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_buffers", "input_buffer_size_kb", "input_max_packets", "output_buffer_size_kb", "output_max_packets"), &WebSocketMultiplayerPeer::set_buffers);
|
||||
ClassDB::bind_method(D_METHOD("get_peer", "peer_id"), &WebSocketMultiplayerPeer::get_peer);
|
||||
|
||||
ADD_SIGNAL(MethodInfo("peer_packet", PropertyInfo(Variant::INT, "peer_source")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue