void ServerMsgSender::AddUserAskMsg() { ServerList *sList = ServerList::Instance(); Handle<ServerInfo> server; if(sList->GetServer(serverid, server)) { server->AddUser(serveruid); } }
void ServerMsgSender::ReplyAddUserMsg(bool agree) { if(agree) { ServerList *sList = ServerList::Instance(); Handle<ServerInfo> server; if(sList->GetServer(serverid, server)) { server->AddUser(serveruid); } } }