diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-04-16 16:25:34 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-04-16 16:46:48 -0400 |
| commit | f1e92a1eaee1b87a3cc4c8d3f15936339ee2c482 (patch) | |
| tree | 4b273aad52aa73f6082209e2101e0e8160878f44 | |
| parent | 1b8ad49d1e07f7341f55ac0ce657349b303cae7e (diff) | |
TraversalClient: Make TestPacket() private
This is only used by the private InterceptCallback()
| -rw-r--r-- | Source/Core/Common/TraversalClient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/TraversalClient.h b/Source/Core/Common/TraversalClient.h index aedc435d86..e3ca60bfbc 100644 --- a/Source/Core/Common/TraversalClient.h +++ b/Source/Core/Common/TraversalClient.h @@ -50,8 +50,6 @@ public: void ConnectToClient(const std::string& host); void ReconnectToServer(); void Update(); - // called from NetHost - bool TestPacket(u8* data, size_t size, ENetAddress* from); void HandleResends(); TraversalClientClient* m_Client = nullptr; @@ -64,6 +62,8 @@ private: enet_uint32 sendTime; }; void HandleServerPacket(TraversalPacket* packet); + // called from NetHost + bool TestPacket(u8* data, size_t size, ENetAddress* from); void ResendPacket(OutgoingTraversalPacketInfo* info); TraversalRequestId SendTraversalPacket(const TraversalPacket& packet); void OnFailure(FailureReason reason); |
