VOID LoginPlayer::CleanUp( )
{
__ENTER_FUNCTION

	m_Status = PS_LOGIN_EMPTY ;
	m_KickTime		 =  0;
	m_LastSendTime   =  0;
	m_ConnectTime	 =	0;
	m_CurrentTime	 =	0;
	m_LeftTimeToQuit =	0;
	m_AccountGuid	 =	0;
	m_Version		 =	0;
	m_LastSendProcessTurn = 0;
	m_QueuePos			=	0;
	m_LastDBOpTime		=	0;
	m_CharNumber		=  -1;
	memset(m_GUIDList,-1,sizeof(GUID_t)*DB_CHAR_NUMBER);
	m_uKey				= -1;
	m_bDBOprating		= FALSE;
	m_ReadyKickCount	= 0;
	m_WrongPWCount		= 0;
	m_SceneID			= 0;
	m_WorldPos.CleanUp();
	m_Camp				= -1;
	ResetKick( ) ;
	return Player::CleanUp( ) ;

__LEAVE_FUNCTION
}
Exemple #2
0
VOID LoginPlayer::CleanUp( )
{
__ENTER_FUNCTION

	m_Status = PS_LOGIN_EMPTY ;
	m_KickTime		 =  0;
	m_LastSendTime   =  0;
	m_ConnectTime	 =	0;
	m_CurrentTime	 =	0;
	m_LeftTimeToQuit =	0;
	m_AccountGuid	 =	0;
	m_Version		 =	0;
	m_LastSendProcessTurn = 0;
	m_QueuePos			=	0;
	m_LastDBOpTime		=	0;
	m_CharNumber		=  -1;
	memset(m_GUIDList,-1,sizeof(GUID_t)*DB_CHAR_NUMBER);
	m_uKey				= -1;
	m_bDBOprating		= FALSE;
	m_ReadyKickCount	= 0;
	m_WrongPWCount		= 0;
	m_SceneID			= 0;
	m_WorldPos.CleanUp();
	m_bEnableMiBao		= FALSE;
	m_MiBaoGroup.CleanUp();
	m_MiBaoInputBeginTime	= 0;
	m_FatigueSign	 = FALSE;
	m_AccountTotalOnlineTime	= 0;
	m_ProxyType			= CL_NP_UNKNOWN;
	m_bAlreadyCheckCreateCode = FALSE;
	m_bAlreadyCheckLoginCode = FALSE;
	m_CreateCode.CleanUp();
	m_LoginCode.CleanUp();
	m_AccountSafeSign.CleanUp();

	ResetDisconnectCountDown();

	ResetKick( ) ;
	return Player::CleanUp( ) ;

__LEAVE_FUNCTION
}