feat(Core/Time): remove inherited ACE Time (#3455)

Co-authored-by: Viste <viste02@gmail.com>
This commit is contained in:
Kargatum
2020-09-11 19:03:26 +07:00
committed by GitHub
parent 8b3621779e
commit e15a493927
20 changed files with 157 additions and 58 deletions

View File

@@ -13,7 +13,6 @@
#ifndef _WORLDSOCKET_H
#define _WORLDSOCKET_H
#include <ace/Basic_Types.h>
#include <ace/Synch_Traits.h>
#include <ace/Svc_Handler.h>
#include <ace/SOCK_Stream.h>
@@ -28,6 +27,7 @@
#include "Common.h"
#include "AuthCrypt.h"
#include "Duration.h"
class ACE_Message_Block;
class WorldPacket;
@@ -151,7 +151,7 @@ class WorldSocket : public WorldHandler
private:
/// Time in which the last ping was received
ACE_Time_Value m_LastPingTime;
SystemTimePoint m_LastPingTime;
/// Keep track of over-speed pings, to prevent ping flood.
uint32 m_OverSpeedPings;