aboutsummaryrefslogtreecommitdiff
path: root/src/game/WorldSession.h
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-30 12:47:26 -0600
committermegamage <none@none>2008-11-30 12:47:26 -0600
commitbb1ee8a004c79d0f2262820f92df4bd72bdd6587 (patch)
treec240378ccc96b12f1f67cc9e096368bc95662a2c /src/game/WorldSession.h
parent375d3ba4eb986676fc9084a93414083a89d542a0 (diff)
*Update to Mangos 6867. Source: Mangos.
*Big changes: *[6858] Prevent cheating with ignore waiting in login queue. *[6863] Arena team related clean ups and adding parts of w12x's arena patch. *Some Config changes and guild changes. --HG-- branch : trunk
Diffstat (limited to 'src/game/WorldSession.h')
-rw-r--r--src/game/WorldSession.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/WorldSession.h b/src/game/WorldSession.h
index 27391ae9618..c9f98765092 100644
--- a/src/game/WorldSession.h
+++ b/src/game/WorldSession.h
@@ -98,6 +98,9 @@ class TRINITY_DLL_SPEC WorldSession
void SetPlayer(Player *plr) { _player = plr; }
uint8 Expansion() const { return m_expansion; }
+ /// Session in auth.queue currently
+ void SetInQueue(bool state) { m_inQueue = state; }
+
/// Is the user engaged in a log out process?
bool isLogingOut() const { return _logoutTime || m_playerLogout; }
@@ -639,6 +642,7 @@ class TRINITY_DLL_SPEC WorldSession
uint8 m_expansion;
time_t _logoutTime;
+ bool m_inQueue; // session wait in auth.queue
bool m_playerLoading; // code processed in LoginPlayer
bool m_playerLogout; // code processed in LogoutPlayer
bool m_playerRecentlyLogout;