![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
References GetEpochTime(), and TimeBreakdown().
References GetEpochTime(), and TimeBreakdown().
References GetEpochTime(), and TimeBreakdown().
Referenced by Weather::ReGenerate().
References GetEpochTime(), and TimeBreakdown().
time_t Acore::Time::GetLocalHourTimestamp | ( | time_t | time, |
uint8 | hour, | ||
bool | onlyAfterTime = true |
||
) |
References DAY, HOUR, and TimeBreakdown().
References GetEpochTime(), and TimeBreakdown().
Referenced by npc_dark_iron_attack_generator::AllowStart().
References GetEpochTime(), and TimeBreakdown().
Referenced by Player::_LoadBrewOfTheMonth().
References DAY, and TimeBreakdown().
Referenced by World::CalendarDeleteOldEvents(), World::InitCalendarOldEventsDeletionTime(), World::InitDailyQuestResetTime(), World::InitGuildResetTime(), World::InitMonthlyQuestResetTime(), World::InitRandomBGResetTime(), World::InitWeeklyQuestResetTime(), World::ResetDailyQuests(), World::ResetGuildCap(), World::ResetRandomBG(), and World::ResetWeeklyQuests().
References TimeBreakdown().
Referenced by World::ResetMonthlyQuests().
References GetEpochTime(), and TimeBreakdown().
References GetEpochTime(), and TimeBreakdown().
time_t Acore::Time::LocalTimeToUTCTime | ( | time_t | time | ) |
std::tm Acore::Time::TimeBreakdown | ( | time_t | t = 0 | ) |
References GetEpochTime(), and localtime_r().
Referenced by ByteBuffer::AppendPackedTime(), GetDayInMonth(), GetDayInWeek(), GetDayInYear(), GetHours(), GetLocalHourTimestamp(), GetMinutes(), GetMonth(), GetNextTimeWithDayAndHour(), GetNextTimeWithMonthAndHour(), GetSeconds(), GetYear(), ban_commandscript::HandleBanListCharacterCommand(), ban_commandscript::HandleBanListHelper(), ban_commandscript::HandleBanListIPCommand(), go_firework_show::InitShow(), AchievementCriteriaData::Meets(), GameEventMgr::SetHolidayEventTime(), go_bells::go_bellsAI::UpdateAI(), and npc_elder_clearwater::npc_elder_clearwaterAI::UpdateAI().
AC_COMMON_API uint32 Acore::Time::TimeStringTo | ( | std::string_view | timeString | ) |
std::string Acore::Time::TimeToHumanReadable | ( | Seconds | time = 0s , |
std::string_view | fmt = {} |
||
) |
Referenced by misc_commandscript::HandleMuteInfoHelper().
std::string Acore::Time::TimeToTimestampStr | ( | Seconds | time = 0s , |
std::string_view | fmt = {} |
||
) |
Referenced by Log::GetTimestampStr(), LogMessage::getTimeStr(), character_commandscript::HandleCharacterDeletedListHelper(), and event_commandscript::HandleEventInfoCommand().
std::string Acore::Time::ToTimeString | ( | Microseconds | durationTime, |
TimeOutput | timeOutput = TimeOutput::Seconds , |
||
TimeFormat | timeFormat = TimeFormat::ShortText |
||
) |
AC_COMMON_API std::string Acore::Time::ToTimeString | ( | std::string_view | durationTime, |
TimeOutput | timeOutput = TimeOutput::Seconds , |
||
TimeFormat | timeFormat = TimeFormat::ShortText |
||
) |
AC_COMMON_API std::string Acore::Time::ToTimeString | ( | uint64 | durationTime, |
TimeOutput | timeOutput = TimeOutput::Seconds , |
||
TimeFormat | timeFormat = TimeFormat::ShortText |
||
) |