AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
TicketMgr.cpp File Reference
#include "TicketMgr.h"
#include "CharacterCache.h"
#include "Chat.h"
#include "Common.h"
#include "DatabaseEnv.h"
#include "GameTime.h"
#include "Language.h"
#include "Log.h"
#include "Opcodes.h"
#include "Player.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"

Go to the source code of this file.

Functions

float GetAge (uint64 t)
 

Function Documentation

◆ GetAge()

float GetAge ( uint64  t)
inline
32{ return float(GameTime::GetGameTime().count() - t) / DAY; }
constexpr auto DAY
Definition: Common.h:49
Seconds GetGameTime()
Definition: GameTime.cpp:38

References DAY, and GameTime::GetGameTime().

Referenced by GmTicket::WritePacket().