mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
TraversalClient: Make TestPacket() private
This is only used by the private InterceptCallback()
This commit is contained in:
parent
1b8ad49d1e
commit
f1e92a1eae
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user