Next steps for invitation system.

This commit is contained in:
lotodore
2010-03-30 13:02:43 +00:00
parent 0925b2d747
commit a01741846a
5 changed files with 38 additions and 5 deletions
+7 -2
View File
@@ -564,14 +564,19 @@ ServerLobbyThread::RemoveComputerPlayer(boost::shared_ptr<PlayerData> player)
m_computerPlayers.erase(player->GetUniqueId());
}
void
bool
ServerLobbyThread::SendToLobbyPlayer(unsigned playerId, boost::shared_ptr<NetPacket> packet)
{
bool retVal = false;
SessionWrapper tmpSession = m_sessionManager.GetSessionByUniquePlayerId(playerId);
if (tmpSession.sessionData)
{
GetSender().Send(tmpSession.sessionData, packet);
retVal = true;
}
return retVal;
}
AvatarManager &
ServerLobbyThread::GetAvatarManager()
{