203 std::string targetName;
233 target->ResetTalents(
true);
234 target->ResetTalentSpecialization();
235 target->SendTalentsInfoData();
248 else if (!targetGuid.
IsEmpty())
251 stmt->
setUInt16(0,
uint16(AT_LOGIN_NONE | AT_LOGIN_RESET_PET_TALENTS));
255 std::string nameLink = handler->
playerLink(targetName);
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
void Execute(const char *sql)
Definition: DatabaseWorkerPool.h:87
Player * GetPlayer() const
Definition: WorldSession.h:927
Definition: Language.h:140
bool extractPlayerTarget(char *args, Player **player, ObjectGuid *player_guid=NULL, std::string *player_name=NULL)
Definition: Chat.cpp:945
uint16_t uint16
Definition: g3dmath.h:166
Definition: PreparedStatement.h:74
Definition: CharacterDatabase.h:322
Definition: Language.h:242
virtual std::string GetNameLink() const
Definition: Chat.h:101
void setUInt16(const uint8 index, const uint16 value)
Definition: PreparedStatement.cpp:106
Definition: Language.h:239
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
Definition: Language.h:240
void setUInt64(const uint8 index, const uint64 value)
Definition: PreparedStatement.cpp:124
WorldSession * GetSession()
Definition: Chat.h:59
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
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152
std::string playerLink(std::string const &name) const
Definition: Chat.h:132
bool IsEmpty() const
Definition: ObjectGuid.h:242
LowType GetCounter() const
Definition: ObjectGuid.h:221