PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 4
 5Login::Login()
 6:m_userState(USER_NOT_CONNECTED)
 7{
 8
 9}
10
11Login::~Login()
12{
13
14}
15
16
17bool Login::isConnect() const
18{
19	return m_userState != USER_NOT_CONNECTED;
20}
21
22int Login::getUserState() const
23{
24	return m_userState;
25}