mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(Core/Time): Implement saparated manager for game time (#8630)
This commit is contained in:
14
doc/changelog/pendings/changes_1635377685423214200.md
Normal file
14
doc/changelog/pendings/changes_1635377685423214200.md
Normal file
@@ -0,0 +1,14 @@
|
||||
### How to upgrade
|
||||
|
||||
```diff
|
||||
- time(nullptr)
|
||||
+ GameTime::GetGameTime().count()
|
||||
```
|
||||
```diff
|
||||
- sWorld->GetGameTime()
|
||||
+ GameTime::GetGameTime().count()
|
||||
```
|
||||
```diff
|
||||
- World::GetGameTimeMS()
|
||||
+ GameTime::GetGameTimeMS().count()
|
||||
```
|
||||
Reference in New Issue
Block a user