mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 14:08:58 +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 ConnectToClient(const std::string& host);
|
||||||
void ReconnectToServer();
|
void ReconnectToServer();
|
||||||
void Update();
|
void Update();
|
||||||
// called from NetHost
|
|
||||||
bool TestPacket(u8* data, size_t size, ENetAddress* from);
|
|
||||||
void HandleResends();
|
void HandleResends();
|
||||||
|
|
||||||
TraversalClientClient* m_Client = nullptr;
|
TraversalClientClient* m_Client = nullptr;
|
||||||
@ -64,6 +62,8 @@ private:
|
|||||||
enet_uint32 sendTime;
|
enet_uint32 sendTime;
|
||||||
};
|
};
|
||||||
void HandleServerPacket(TraversalPacket* packet);
|
void HandleServerPacket(TraversalPacket* packet);
|
||||||
|
// called from NetHost
|
||||||
|
bool TestPacket(u8* data, size_t size, ENetAddress* from);
|
||||||
void ResendPacket(OutgoingTraversalPacketInfo* info);
|
void ResendPacket(OutgoingTraversalPacketInfo* info);
|
||||||
TraversalRequestId SendTraversalPacket(const TraversalPacket& packet);
|
TraversalRequestId SendTraversalPacket(const TraversalPacket& packet);
|
||||||
void OnFailure(FailureReason reason);
|
void OnFailure(FailureReason reason);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user