Uncommented some utils functions for LFG

This commit is contained in:
Yehonal
2017-09-18 19:36:26 +02:00
parent 84d6011a3d
commit af6fc3d873
3 changed files with 55 additions and 55 deletions

View File

@@ -11,7 +11,7 @@
#include "Group.h"
#include "Player.h"
void GetPlayerInfo(ChatHandler* /*handler*/, Player* player)
void GetPlayerInfo(ChatHandler* handler, Player* player)
{
if (!player)
return;
@@ -19,10 +19,10 @@ void GetPlayerInfo(ChatHandler* /*handler*/, Player* player)
uint64 guid = player->GetGUID();
lfg::LfgDungeonSet dungeons = sLFGMgr->GetSelectedDungeons(guid);
/*std::string const& state = lfg::GetStateString(sLFGMgr->GetState(guid));
std::string const& state = lfg::GetStateString(sLFGMgr->GetState(guid));
handler->PSendSysMessage(LANG_LFG_PLAYER_INFO, player->GetName().c_str(),
state.c_str(), uint8(dungeons.size()), lfg::ConcatenateDungeons(dungeons).c_str(),
lfg::GetRolesString(sLFGMgr->GetRoles(guid)).c_str(), sLFGMgr->GetComment(guid).c_str());*/
lfg::GetRolesString(sLFGMgr->GetRoles(guid)).c_str(), sLFGMgr->GetComment(guid).c_str());
}
class lfg_commandscript : public CommandScript