diff options
| author | Marlon Henry Schweigert | 2018-01-30 13:22:15 -0200 |
|---|---|---|
| committer | Marlon Henry Schweigert | 2018-01-30 13:22:15 -0200 |
| commit | 87adf9cfbab00a40aad483b4e709518d5f61b6d1 (patch) | |
| tree | 9f0721697ab678fb3eeb4b9c2321024469873cd7 /core/io/stream_peer_tcp.cpp | |
| parent | f12e8568d43de853e0b98588e7f132a61a92fc45 (diff) | |
| download | godot-87adf9cfbab00a40aad483b4e709518d5f61b6d1.tar.gz godot-87adf9cfbab00a40aad483b4e709518d5f61b6d1.tar.zst godot-87adf9cfbab00a40aad483b4e709518d5f61b6d1.zip | |
Display set_nodelay to GDScript
Pass enabled arg
Rename set_nodelay to set_no_delay
Add description to the method
Change description
Diffstat (limited to '')
| -rw-r--r-- | core/io/stream_peer_tcp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/stream_peer_tcp.cpp b/core/io/stream_peer_tcp.cpp index 9cfa81003..5d008904f 100644 --- a/core/io/stream_peer_tcp.cpp +++ b/core/io/stream_peer_tcp.cpp @@ -55,6 +55,7 @@ void StreamPeerTCP::_bind_methods() { ClassDB::bind_method(D_METHOD("get_connected_host"), &StreamPeerTCP::get_connected_host); ClassDB::bind_method(D_METHOD("get_connected_port"), &StreamPeerTCP::get_connected_port); ClassDB::bind_method(D_METHOD("disconnect_from_host"), &StreamPeerTCP::disconnect_from_host); + ClassDB::bind_method(D_METHOD("set_no_delay", "enabled"), &StreamPeerTCP::set_no_delay); BIND_ENUM_CONSTANT(STATUS_NONE); BIND_ENUM_CONSTANT(STATUS_CONNECTING); |
