diff options
author | Treeston <treeston.mmoc@gmail.com> | 2019-08-04 12:22:57 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-18 15:28:45 +0100 |
commit | 51fbda4223442635a35d3225c0797d0151ea7051 (patch) | |
tree | 58c157637d44c568f7d720dddbce2c28c7ee9427 /src/common/Utilities/Util.h | |
parent | 6d5086da1747816e1a4e8518e16ab1923de22e1a (diff) |
Core/Pooling: Quest pooling rewrite: (PR#23627)
- Split quest pooling from PoolMgr (into QuestPoolMgr)
- Proper saving/restoring on server restart
- No more hacking into sObjectMgr to insert/remove available quests
(cherry picked from commit a5e73e41c0e813e674bb0a644e0052052435494e)
Diffstat (limited to 'src/common/Utilities/Util.h')
-rw-r--r-- | src/common/Utilities/Util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h index 2c06cb936e6..879ec4e0f67 100644 --- a/src/common/Utilities/Util.h +++ b/src/common/Utilities/Util.h @@ -66,6 +66,7 @@ TC_COMMON_API tm TimeBreakdown(time_t t); TC_COMMON_API std::string secsToTimeString(uint64 timeInSecs, bool shortText = false, bool hoursOnly = false); TC_COMMON_API uint32 TimeStringToSecs(std::string const& timestring); TC_COMMON_API std::string TimeToTimestampStr(time_t t); +TC_COMMON_API std::string TimeToHumanReadable(time_t t); // Percentage calculation template <class T, class U> |