79 std::string nameTarget;
83 if (
sObjectMgr->GetPlayerNameByGUID(parseGUID, nameTarget))
86 guidTarget = parseGUID;
88 else if (!handler->
extractPlayerTarget((
char*)args, &playerTarget, &guidTarget, &nameTarget))
94 groupTarget = playerTarget->GetGroup();
101 groupTarget =
sGroupMgr->GetGroupByDbStoreId((*resultGroup)[0].GetUInt32());
113 state.c_str(),
sLFGMgr->GetDungeon(guid));
117 for (Group::MemberSlotList::const_iterator itr = members.begin(); itr != members.end(); ++itr)
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
Definition: Language.h:1158
std::shared_ptr< PreparedResultSet > PreparedQueryResult
Definition: QueryResult.h:107
unsigned long long atoull(char const *str)
Definition: Common.h:91
ObjectGuid GetGUID() const
Definition: Group.cpp:2534
void GetPlayerInfo(ChatHandler *handler, Player *player)
Definition: cs_lfg.cpp:27
std::list< MemberSlot > MemberSlotList
Definition: Group.h:204
arena_t NULL
Definition: jemalloc_internal.h:624
uint64_t uint64
Definition: g3dmath.h:170
bool extractPlayerTarget(char *args, Player **player, ObjectGuid *player_guid=NULL, std::string *player_name=NULL)
Definition: Chat.cpp:945
#define sObjectMgr
Definition: ObjectMgr.h:1567
Definition: PreparedStatement.h:74
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:209
std::string GetStateString(LfgState state)
Definition: LFG.cpp:74
#define sLFGMgr
Definition: LFGMgr.h:481
#define sGroupMgr
Definition: GroupMgr.h:59
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
std::string name
Definition: Group.h:197
Definition: Language.h:1157
void setUInt32(const uint8 index, const uint32 value)
Definition: PreparedStatement.cpp:115
bool isLFGGroup() const
Definition: Group.cpp:2504
MemberSlotList const & GetMemberSlots() const
Definition: Group.h:294
Definition: CharacterDatabase.h:69
QueryResult Query(const char *sql, T *connection=nullptr)
Definition: DatabaseWorkerPool.cpp:113
CharacterDatabaseWorkerPool CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
Definition: ObjectGuid.h:189
LowType GetCounter() const
Definition: ObjectGuid.h:221