AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Go to the source code of this file.
Classes | |
struct | IntervalTimer |
struct | TimeTracker |
struct | TimeTrackerSmall |
struct | PeriodicTimer |
Namespaces | |
namespace | Acore |
namespace | Acore::Time |
Enumerations | |
enum class | TimeFormat : uint8 { FullText , ShortText , Numeric } |
enum class | TimeOutput : uint8 { Days , Hours , Minutes , Seconds , Milliseconds , Microseconds } |
|
strong |
|
strong |
|
inline |
Referenced by getMSTime(), getMSTimeDiff(), and GetTimeMS().
|
inline |
Referenced by Acore::Time::GetDayInMonth(), Acore::Time::GetDayInWeek(), Acore::Time::GetDayInYear(), Acore::Time::GetHours(), Acore::Time::GetMinutes(), Acore::Time::GetMonth(), Acore::Time::GetSeconds(), Log::GetTimestampStr(), Acore::Time::GetYear(), AppenderFile::OpenFile(), SFMTRand::SFMTRand(), Acore::Time::TimeBreakdown(), GameTime::UpdateGameTimers(), and Acore::Crypto::TOTP::ValidateToken().
|
inline |
References GetApplicationStartTime().
Referenced by MySQLConnection::_Query(), DisableMgr::CheckQuestDisables(), CharacterDatabaseCleaner::CleanDatabase(), MySQLConnection::Execute(), GetMSTimeDiffToNow(), Player::GetSpellCooldownDelay(), mmaps_commandscript::HandleMmapTestArea(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveRootAck(), WorldSession::HandleMoveUnRootAck(), FreezeDetector::Handler(), ArenaSpectator::HandleResetCommand(), Player::HasSpellCooldown(), Player::HasSpellItemCooldown(), PacketLog::Initialize(), PlayerDump::InitializeTables(), OutdoorPvPMgr::InitOutdoorPvP(), WaypointMgr::Load(), ObjectMgr::LoadAccessRequirements(), AchievementGlobalMgr::LoadAchievementCriteriaData(), AchievementGlobalMgr::LoadAchievementCriteriaList(), AchievementGlobalMgr::LoadAchievementReferenceList(), ObjectMgr::LoadAcoreStrings(), ObjectMgr::LoadAreaTriggers(), ObjectMgr::LoadAreaTriggerScripts(), ObjectMgr::LoadAreaTriggerTeleports(), ArenaTeamMgr::LoadArenaTeams(), AuctionHouseMgr::LoadAuctionItems(), AuctionHouseMgr::LoadAuctions(), AutobroadcastMgr::LoadAutobroadcasts(), BattlegroundMgr::LoadBattlegroundTemplates(), BattlegroundMgr::LoadBattleMastersEntry(), ObjectMgr::LoadBroadcastTextLocales(), ObjectMgr::LoadBroadcastTexts(), ChannelMgr::LoadChannelRights(), ChannelMgr::LoadChannels(), CharacterCache::LoadCharacterCacheStorage(), AchievementGlobalMgr::LoadCompletedAchievements(), ConditionMgr::LoadConditions(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureClassLevelStats(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatureLocales(), ObjectMgr::LoadCreatureModelInfo(), ObjectMgr::LoadCreatureMovementOverrides(), ObjectMgr::LoadCreatureQuestItems(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplateAddons(), ObjectMgr::LoadCreatureTemplateModels(), ObjectMgr::LoadCreatureTemplateResistances(), ObjectMgr::LoadCreatureTemplates(), ObjectMgr::LoadCreatureTemplateSpells(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), ScriptMgr::LoadDatabase(), DisableMgr::LoadDisables(), SpellMgr::LoadEnchantCustomAttr(), ObjectMgr::LoadEquipmentTemplates(), ObjectMgr::LoadExplorationBaseXP(), ObjectMgr::LoadFactionChangeAchievements(), ObjectMgr::LoadFactionChangeItems(), ObjectMgr::LoadFactionChangeQuests(), ObjectMgr::LoadFactionChangeReputations(), ObjectMgr::LoadFactionChangeSpells(), ObjectMgr::LoadFactionChangeTitles(), ObjectMgr::LoadFishingBaseSkillLevel(), AddonMgr::LoadFromDB(), SmartWaypointMgr::LoadFromDB(), GameEventMgr::LoadFromDB(), PoolMgr::LoadFromDB(), ObjectMgr::LoadGameObjectAddons(), ObjectMgr::LoadGameObjectForQuests(), ObjectMgr::LoadGameObjectLocales(), LoadGameObjectModelList(), ObjectMgr::LoadGameObjectQuestItems(), ObjectMgr::LoadGameobjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameObjectTemplateAddons(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenu(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadGossipText(), Graveyard::LoadGraveyardFromDB(), Graveyard::LoadGraveyardZones(), GroupMgr::LoadGroups(), GuildMgr::LoadGuilds(), GameEventMgr::LoadHolidayDates(), ObjectMgr::LoadInstanceEncounters(), InstanceSaveMgr::LoadInstances(), ObjectMgr::LoadInstanceTemplate(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadItemTemplates(), lfg::LFGMgr::LoadLFGDungeons(), ObjectMgr::LoadLinkedRespawn(), LoadLootTemplates_Creature(), LoadLootTemplates_Disenchant(), LoadLootTemplates_Fishing(), LoadLootTemplates_Gameobject(), LoadLootTemplates_Item(), LoadLootTemplates_Mail(), LoadLootTemplates_Milling(), LoadLootTemplates_Pickpocketing(), LoadLootTemplates_Player(), LoadLootTemplates_Prospecting(), LoadLootTemplates_Reference(), LoadLootTemplates_Skinning(), LoadLootTemplates_Spell(), LoadM2Cameras(), ObjectMgr::LoadMailLevelRewards(), ObjectMgr::LoadMailServerTemplates(), ObjectMgr::LoadModuleStrings(), ObjectMgr::LoadModuleStringsLocale(), MotdMgr::LoadMotd(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPageTexts(), SpellMgr::LoadPetDefaultSpells(), PetitionMgr::LoadPetitions(), ObjectMgr::LoadPetLevelInfo(), SpellMgr::LoadPetLevelupSpellMap(), ObjectMgr::LoadPetNames(), ObjectMgr::LoadPetNamesLocales(), ObjectMgr::LoadPetNumber(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadPointsOfInterest(), ObjectMgr::LoadProfanityNamesFromDB(), ObjectMgr::LoadProfanityNamesFromDBC(), ObjectMgr::LoadQuestAreaTriggers(), ObjectMgr::LoadQuestGreetings(), ObjectMgr::LoadQuestGreetingsLocales(), ObjectMgr::LoadQuestLocales(), ObjectMgr::LoadQuestMoneyRewards(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestPOI(), ObjectMgr::LoadQuestRelationsHelper(), ObjectMgr::LoadQuestRequestItemsLocale(), ObjectMgr::LoadQuests(), LoadRandomEnchantmentsTable(), ObjectMgr::LoadReputationOnKill(), ObjectMgr::LoadReputationRewardRate(), ObjectMgr::LoadReputationSpilloverTemplate(), ObjectMgr::LoadReservedPlayerNamesDB(), ObjectMgr::LoadReservedPlayerNamesDBC(), AchievementGlobalMgr::LoadRewardLocales(), AchievementGlobalMgr::LoadRewards(), lfg::LFGMgr::LoadRewards(), ObjectMgr::LoadScriptNames(), ObjectMgr::LoadScripts(), SystemMgr::LoadScriptWaypoints(), PetitionMgr::LoadSignatures(), LoadSkillDiscoveryTable(), LoadSkillExtraItemTable(), SpellMgr::LoadSkillLineAbilityMap(), LoadSkillPerfectItemTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellAreas(), SpellMgr::LoadSpellBonuses(), SpellMgr::LoadSpellCooldownOverrides(), SpellMgr::LoadSpellEnchantProcData(), SpellMgr::LoadSpellGroups(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellInfoStore(), SpellMgr::LoadSpellLearnSkills(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellMixology(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellProcEvents(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), SpellMgr::LoadSpellRequired(), ObjectMgr::LoadSpellScriptNames(), SpellMgr::LoadSpellSpecificAndAuraState(), SpellMgr::LoadSpellTargetPositions(), SpellMgr::LoadSpellThreats(), LootItemStorage::LoadStorageFromDB(), TicketMgr::LoadSurveys(), ObjectMgr::LoadTavernAreaTriggers(), ObjectMgr::LoadTempSummons(), TicketMgr::LoadTickets(), ObjectMgr::LoadTrainerSpell(), TransportMgr::LoadTransportTemplates(), ObjectMgr::LoadVehicleAccessories(), ObjectMgr::LoadVehicleSeatAddon(), ObjectMgr::LoadVehicleTemplateAccessories(), ObjectMgr::LoadVendors(), WeatherMgr::LoadWeatherData(), World::LoadWorldStates(), PacketLog::LogPacket(), main(), ObjectMgr::ReturnOrDeleteOldMails(), WorldSession::SendTimeSync(), World::SetInitialWorldSettings(), TransportMgr::SpawnContinentTransports(), Player::Update(), ObjectMgr::ValidateSpellScripts(), and WorldUpdateLoop().
|
inline |
Referenced by AuctionHouseObject::BuildListAuctionItems(), GetMSTimeDiffToNow(), WorldSession::HandleAuctionListItems(), WorldSession::HandleAuctionListOwnerItems(), WorldUpdateTime::RecordUpdateTime(), and lfg::LFGMgr::UpdateRaidBrowser().
References GetApplicationStartTime(), and getMSTimeDiff().
Referenced by MySQLConnection::_Query(), WorldObject::AddToNotify(), MySQLConnection::Execute(), Unit::GetDiminishing(), getMSTimeDiff(), GetMSTimeDiffToNow(), WorldSession::HandleBattlefieldStatusOpcode(), spell_mimiron_p3wx2_laser_barrage_aura::HandleEffectPeriodic(), mmaps_commandscript::HandleMmapTestArea(), FreezeDetector::Handler(), ArenaSpectator::HandleResetCommand(), WorldSession::HandleTimeSyncResp(), GlobalCooldownMgr::HasGlobalCooldown(), Unit::IsUnderLastManaUseEffect(), BattlegroundQueue::PlayerInvitedToBGUpdateAverageWaitTime(), boss_ignis::boss_ignisAI::SetData(), and WorldUpdateLoop().
|
inline |
References GetMSTimeDiff(), and GetTimeMS().
References getMSTime(), and getMSTimeDiff().
Referenced by DisableMgr::CheckQuestDisables(), CharacterDatabaseCleaner::CleanDatabase(), TransactionTask::Execute(), TransactionWithResultTask::Execute(), PlayerDump::InitializeTables(), OutdoorPvPMgr::InitOutdoorPvP(), WaypointMgr::Load(), ObjectMgr::LoadAccessRequirements(), AchievementGlobalMgr::LoadAchievementCriteriaData(), AchievementGlobalMgr::LoadAchievementCriteriaList(), AchievementGlobalMgr::LoadAchievementReferenceList(), ObjectMgr::LoadAcoreStrings(), ObjectMgr::LoadAreaTriggers(), ObjectMgr::LoadAreaTriggerScripts(), ObjectMgr::LoadAreaTriggerTeleports(), ArenaTeamMgr::LoadArenaTeams(), AuctionHouseMgr::LoadAuctionItems(), AuctionHouseMgr::LoadAuctions(), AutobroadcastMgr::LoadAutobroadcasts(), BattlegroundMgr::LoadBattlegroundTemplates(), BattlegroundMgr::LoadBattleMastersEntry(), ObjectMgr::LoadBroadcastTextLocales(), ObjectMgr::LoadBroadcastTexts(), ChannelMgr::LoadChannelRights(), ChannelMgr::LoadChannels(), CharacterCache::LoadCharacterCacheStorage(), AchievementGlobalMgr::LoadCompletedAchievements(), ConditionMgr::LoadConditions(), ObjectMgr::LoadCreatureAddons(), ObjectMgr::LoadCreatureClassLevelStats(), FormationMgr::LoadCreatureFormations(), ObjectMgr::LoadCreatureLocales(), ObjectMgr::LoadCreatureModelInfo(), ObjectMgr::LoadCreatureMovementOverrides(), ObjectMgr::LoadCreatureQuestItems(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadCreatureTemplateAddons(), ObjectMgr::LoadCreatureTemplateModels(), ObjectMgr::LoadCreatureTemplateResistances(), ObjectMgr::LoadCreatureTemplates(), ObjectMgr::LoadCreatureTemplateSpells(), CreatureTextMgr::LoadCreatureTextLocales(), CreatureTextMgr::LoadCreatureTexts(), ScriptMgr::LoadDatabase(), DisableMgr::LoadDisables(), SpellMgr::LoadEnchantCustomAttr(), ObjectMgr::LoadEquipmentTemplates(), ObjectMgr::LoadExplorationBaseXP(), ObjectMgr::LoadFactionChangeAchievements(), ObjectMgr::LoadFactionChangeItems(), ObjectMgr::LoadFactionChangeQuests(), ObjectMgr::LoadFactionChangeReputations(), ObjectMgr::LoadFactionChangeSpells(), ObjectMgr::LoadFactionChangeTitles(), ObjectMgr::LoadFishingBaseSkillLevel(), AddonMgr::LoadFromDB(), SmartWaypointMgr::LoadFromDB(), GameEventMgr::LoadFromDB(), PoolMgr::LoadFromDB(), ObjectMgr::LoadGameObjectAddons(), ObjectMgr::LoadGameObjectForQuests(), ObjectMgr::LoadGameObjectLocales(), LoadGameObjectModelList(), ObjectMgr::LoadGameObjectQuestItems(), ObjectMgr::LoadGameobjects(), ObjectMgr::LoadGameObjectTemplate(), ObjectMgr::LoadGameObjectTemplateAddons(), ObjectMgr::LoadGameTele(), ObjectMgr::LoadGossipMenu(), ObjectMgr::LoadGossipMenuItems(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadGossipText(), Graveyard::LoadGraveyardFromDB(), Graveyard::LoadGraveyardZones(), GroupMgr::LoadGroups(), GuildMgr::LoadGuilds(), GameEventMgr::LoadHolidayDates(), ObjectMgr::LoadInstanceEncounters(), InstanceSaveMgr::LoadInstances(), ObjectMgr::LoadInstanceTemplate(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), ObjectMgr::LoadItemSetNames(), ObjectMgr::LoadItemTemplates(), lfg::LFGMgr::LoadLFGDungeons(), ObjectMgr::LoadLinkedRespawn(), LoadLootTemplates_Creature(), LoadLootTemplates_Disenchant(), LoadLootTemplates_Fishing(), LoadLootTemplates_Gameobject(), LoadLootTemplates_Item(), LoadLootTemplates_Mail(), LoadLootTemplates_Milling(), LoadLootTemplates_Pickpocketing(), LoadLootTemplates_Player(), LoadLootTemplates_Prospecting(), LoadLootTemplates_Reference(), LoadLootTemplates_Skinning(), LoadLootTemplates_Spell(), LoadM2Cameras(), ObjectMgr::LoadMailLevelRewards(), ObjectMgr::LoadMailServerTemplates(), ObjectMgr::LoadModuleStrings(), ObjectMgr::LoadModuleStringsLocale(), MotdMgr::LoadMotd(), ObjectMgr::LoadNPCSpellClickSpells(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPageTexts(), SpellMgr::LoadPetDefaultSpells(), PetitionMgr::LoadPetitions(), ObjectMgr::LoadPetLevelInfo(), SpellMgr::LoadPetLevelupSpellMap(), ObjectMgr::LoadPetNames(), ObjectMgr::LoadPetNamesLocales(), ObjectMgr::LoadPetNumber(), ObjectMgr::LoadPlayerInfo(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadPointsOfInterest(), ObjectMgr::LoadProfanityNamesFromDB(), ObjectMgr::LoadProfanityNamesFromDBC(), ObjectMgr::LoadQuestAreaTriggers(), ObjectMgr::LoadQuestGreetings(), ObjectMgr::LoadQuestGreetingsLocales(), ObjectMgr::LoadQuestLocales(), ObjectMgr::LoadQuestMoneyRewards(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestPOI(), ObjectMgr::LoadQuestRelationsHelper(), ObjectMgr::LoadQuestRequestItemsLocale(), ObjectMgr::LoadQuests(), LoadRandomEnchantmentsTable(), ObjectMgr::LoadReputationOnKill(), ObjectMgr::LoadReputationRewardRate(), ObjectMgr::LoadReputationSpilloverTemplate(), ObjectMgr::LoadReservedPlayerNamesDB(), ObjectMgr::LoadReservedPlayerNamesDBC(), AchievementGlobalMgr::LoadRewardLocales(), AchievementGlobalMgr::LoadRewards(), lfg::LFGMgr::LoadRewards(), ObjectMgr::LoadScriptNames(), ObjectMgr::LoadScripts(), SystemMgr::LoadScriptWaypoints(), PetitionMgr::LoadSignatures(), LoadSkillDiscoveryTable(), LoadSkillExtraItemTable(), SpellMgr::LoadSkillLineAbilityMap(), LoadSkillPerfectItemTable(), SmartAIMgr::LoadSmartAIFromDB(), SpellMgr::LoadSpellAreas(), SpellMgr::LoadSpellBonuses(), SpellMgr::LoadSpellCooldownOverrides(), SpellMgr::LoadSpellEnchantProcData(), SpellMgr::LoadSpellGroups(), SpellMgr::LoadSpellGroupStackRules(), SpellMgr::LoadSpellInfoCorrections(), SpellMgr::LoadSpellInfoCustomAttributes(), SpellMgr::LoadSpellInfoStore(), SpellMgr::LoadSpellLearnSkills(), SpellMgr::LoadSpellLinked(), SpellMgr::LoadSpellMixology(), SpellMgr::LoadSpellPetAuras(), SpellMgr::LoadSpellProcEvents(), SpellMgr::LoadSpellProcs(), SpellMgr::LoadSpellRanks(), SpellMgr::LoadSpellRequired(), ObjectMgr::LoadSpellScriptNames(), SpellMgr::LoadSpellSpecificAndAuraState(), SpellMgr::LoadSpellTargetPositions(), SpellMgr::LoadSpellThreats(), LootItemStorage::LoadStorageFromDB(), TicketMgr::LoadSurveys(), ObjectMgr::LoadTavernAreaTriggers(), ObjectMgr::LoadTempSummons(), TicketMgr::LoadTickets(), ObjectMgr::LoadTrainerSpell(), TransportMgr::LoadTransportTemplates(), ObjectMgr::LoadVehicleAccessories(), ObjectMgr::LoadVehicleSeatAddon(), ObjectMgr::LoadVehicleTemplateAccessories(), ObjectMgr::LoadVendors(), WeatherMgr::LoadWeatherData(), World::LoadWorldStates(), main(), ObjectMgr::ReturnOrDeleteOldMails(), World::SetInitialWorldSettings(), TransportMgr::SpawnContinentTransports(), Player::Update(), and ObjectMgr::ValidateSpellScripts().
|
inline |
References GetApplicationStartTime().
Referenced by AuctionHouseObject::BuildListAuctionItems(), TransactionTask::Execute(), TransactionWithResultTask::Execute(), GetMSTimeDiffToNow(), UpdateTime::RecordUpdateTimeReset(), GameTime::UpdateGameTimers(), and lfg::LFGMgr::UpdateRaidBrowser().
AC_COMMON_API struct tm * localtime_r | ( | time_t const * | time, |
struct tm * | result | ||
) |
Referenced by guild_commandscript::HandleGuildInfoCommand(), and Acore::Time::TimeBreakdown().