/TGame/TServerMS/Login/Login.cpp
http://awoe.googlecode.com/ · C++ · 25 lines · 17 code · 8 blank · 0 comment · 1 complexity · fe6f54666b007b247fa31a405d952aaf MD5 · raw file
- #include "stdafx.h"
- #include "Login.h"
-
-
- Login::Login()
- :m_userState(USER_NOT_CONNECTED)
- {
-
- }
-
- Login::~Login()
- {
-
- }
-
-
- bool Login::isConnect() const
- {
- return m_userState != USER_NOT_CONNECTED;
- }
-
- int Login::getUserState() const
- {
- return m_userState;
- }