//-------------------------------------------------------------------------- /// <CODE-GENERATE>{GlobalClientFuncImpl} void TexasPokerHallAgentC::C_RecLogin(const LoginResult& tResult) { /// <CODE-IMPLEMENT>{RecLogin} if(tResult <= LOGIN_CREATE) { S_ReqSyncTime(); UILayer* pkMainLayer = g_pLayerManager->GetCurrentMainLayer(); if(!VeStrcmp(pkMainLayer->GetName(), Login::GetName())) { static_cast<Login*>(pkMainLayer)->IntoHall(); } else { GetPlayer()->S_ReqInitHall(); UILayer* pkLayer = g_pLayerManager->GetCurrentMainLayer(); if(pkLayer) { pkLayer->OnForceUpdate(); } } } else { g_pkGame->ShowAlert(VE_NEW HallLoginFailed(tResult)); } /// </CODE-IMPLEMENT>{RecLogin} }