/TGame/TServerMS/Login/Login.cpp

http://awoe.googlecode.com/ · C++ · 25 lines · 17 code · 8 blank · 0 comment · 1 complexity · fe6f54666b007b247fa31a405d952aaf MD5 · raw file

  1. #include "stdafx.h"
  2. #include "Login.h"
  3. Login::Login()
  4. :m_userState(USER_NOT_CONNECTED)
  5. {
  6. }
  7. Login::~Login()
  8. {
  9. }
  10. bool Login::isConnect() const
  11. {
  12. return m_userState != USER_NOT_CONNECTED;
  13. }
  14. int Login::getUserState() const
  15. {
  16. return m_userState;
  17. }