mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
TraversalClient: Make TestPacket() private
This is only used by the private InterceptCallback()
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user