Network/ENetPeer: Fix return type of GettotalPacket[Lost|Sent]

This commit is contained in:
Lynix 2018-10-24 20:26:50 +02:00
parent f3febe5d34
commit a292e47673
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,8 @@ namespace Nz
inline UInt16 GetPeerId() const;
inline UInt32 GetRoundTripTime() const;
inline ENetPeerState GetState() const;
inline UInt32 GetTotalPacketLost() const;
inline UInt32 GetTotalPacketSent() const;
inline UInt64 GetTotalPacketLost() const;
inline UInt64 GetTotalPacketSent() const;
inline bool HasPendingCommands();

View File

@ -62,12 +62,12 @@ namespace Nz
return m_state;
}
inline UInt32 ENetPeer::GetTotalPacketLost() const
inline UInt64 ENetPeer::GetTotalPacketLost() const
{
return m_totalPacketLost;
}
inline UInt32 ENetPeer::GetTotalPacketSent() const
inline UInt64 ENetPeer::GetTotalPacketSent() const
{
return m_totalPacketSent;
}