Network: Add accessors to ENetHost/ENetPeer

This commit is contained in:
Lynix
2018-10-21 13:52:14 +02:00
parent 9674d7373c
commit 4e9d4c10da
5 changed files with 41 additions and 2 deletions

View File

@@ -58,8 +58,12 @@ namespace Nz
void Flush();
inline Nz::IpAddress GetBoundAddress() const;
inline IpAddress GetBoundAddress() const;
inline UInt32 GetServiceTime() const;
inline UInt32 GetTotalReceivedPackets() const;
inline UInt64 GetTotalReceivedData() const;
inline UInt64 GetTotalSentData() const;
inline UInt32 GetTotalSentPackets() const;
int Service(ENetEvent* event, UInt32 timeout);