diff options
| author | Nay <dnpd.dd@gmail.com> | 2011-12-18 15:10:54 +0000 |
|---|---|---|
| committer | Nay <dnpd.dd@gmail.com> | 2011-12-18 15:10:54 +0000 |
| commit | 9f635ca9063e6d49789c08165c09f8ff2a11bc15 (patch) | |
| tree | 053765d13b2cfaea1f5cfd31b14e19a0bc508cc5 /src/server/game/World | |
| parent | 6758e133499a7e56fb29a351d011eee14b92e43b (diff) | |
| parent | f3c6904096b4fdcef16d7d802ec847551d15f9bc (diff) | |
Merge branch 'master' into 4.x
Diffstat (limited to 'src/server/game/World')
| -rwxr-xr-x | src/server/game/World/World.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/World/World.h b/src/server/game/World/World.h index 553d4037430..fd0a05f469c 100755 --- a/src/server/game/World/World.h +++ b/src/server/game/World/World.h @@ -636,7 +636,8 @@ class World void SendServerMessage(ServerMessageType type, const char *text = "", Player* player = NULL); /// Are we in the middle of a shutdown? - bool IsShutdowning() const { return m_ShutdownTimer > 0; } + bool IsShuttingDown() const { return m_ShutdownTimer > 0; } + uint32 GetShutDownTimeLeft() const { return m_ShutdownTimer; } void ShutdownServ(uint32 time, uint32 options, uint8 exitcode); void ShutdownCancel(); void ShutdownMsg(bool show = false, Player* player = NULL); |
