mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
TraversalClient: Use u32 instead of enet_uint32
Lessens the dependence on the enet library (and we really don't need to rely on a third-party library for a 32-bit integer type)
This commit is contained in:
@ -59,7 +59,7 @@ private:
|
||||
{
|
||||
TraversalPacket packet;
|
||||
int tries;
|
||||
enet_uint32 sendTime;
|
||||
u32 sendTime;
|
||||
};
|
||||
void HandleServerPacket(TraversalPacket* packet);
|
||||
// called from NetHost
|
||||
@ -80,7 +80,7 @@ private:
|
||||
ENetAddress m_ServerAddress{};
|
||||
std::string m_Server;
|
||||
u16 m_port;
|
||||
enet_uint32 m_PingTime = 0;
|
||||
u32 m_PingTime = 0;
|
||||
};
|
||||
extern std::unique_ptr<TraversalClient> g_TraversalClient;
|
||||
// the NetHost connected to the TraversalClient.
|
||||
|
Reference in New Issue
Block a user