diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-08-19 22:54:02 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-08-19 22:54:53 -0300 |
commit | 2b7aa98d2d4d5efa9b1304086077243c903bbf4d (patch) | |
tree | 9112293b4a116bda89482080e559777b229ecdf9 /core | |
parent | 38338e90c05e60fbea63ab4b68f14b82406e51ef (diff) |
Changed API to use sequenced packets for UDP (drop old)
Diffstat (limited to 'core')
-rw-r--r-- | core/io/networked_multiplayer_peer.cpp | 2 | ||||
-rw-r--r-- | core/io/networked_multiplayer_peer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/io/networked_multiplayer_peer.cpp b/core/io/networked_multiplayer_peer.cpp index a771ba06b7..47e5f3729c 100644 --- a/core/io/networked_multiplayer_peer.cpp +++ b/core/io/networked_multiplayer_peer.cpp @@ -17,8 +17,8 @@ void NetworkedMultiplayerPeer::_bind_methods() { ObjectTypeDB::bind_method(_MD("is_refusing_new_connections"), &NetworkedMultiplayerPeer::is_refusing_new_connections ); BIND_CONSTANT( TRANSFER_MODE_UNRELIABLE ); + BIND_CONSTANT( TRANSFER_MODE_UNRELIABLE_ORDERED ); BIND_CONSTANT( TRANSFER_MODE_RELIABLE ); - BIND_CONSTANT( TRANSFER_MODE_ORDERED ); BIND_CONSTANT( CONNECTION_DISCONNECTED ); BIND_CONSTANT( CONNECTION_CONNECTING ); diff --git a/core/io/networked_multiplayer_peer.h b/core/io/networked_multiplayer_peer.h index 1c39096ab5..485200a9a9 100644 --- a/core/io/networked_multiplayer_peer.h +++ b/core/io/networked_multiplayer_peer.h @@ -17,8 +17,8 @@ public: }; enum TransferMode { TRANSFER_MODE_UNRELIABLE, + TRANSFER_MODE_UNRELIABLE_ORDERED, TRANSFER_MODE_RELIABLE, - TRANSFER_MODE_ORDERED }; enum ConnectionStatus { |