achievement_commandscript::achievement_commandscript |
( |
| ) |
|
|
inline |
CommandScript(const char *name)
Definition: ScriptMgr.cpp:1616
std::vector<ChatCommand> achievement_commandscript::GetCommands |
( |
| ) |
const |
|
inlineoverridevirtual |
Implements CommandScript.
38 static std::vector<ChatCommand> achievementCommandTable =
42 static std::vector<ChatCommand> commandTable =
static bool HandleAchievementAddCommand(ChatHandler *handler, char const *args)
Definition: cs_achievement.cpp:49
arena_t NULL
Definition: jemalloc_internal.h:624
static bool achievement_commandscript::HandleAchievementAddCommand |
( |
ChatHandler * |
handler, |
|
|
char const * |
args |
|
) |
| |
|
inlinestatic |
54 uint32 achievementId = atoi((
char*)args);
58 achievementId = atoi(
id);
72 target->CompletedAchievement(achievementEntry);
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
Definition: Language.h:140
Definition: DB2Structure.h:27
uint32_t uint32
Definition: Define.h:150
Player * getSelectedPlayer()
Definition: Chat.cpp:579
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152
char * extractKeyFromLink(char *text, char const *linkType, char **something1=NULL)
Definition: Chat.cpp:641
#define sAchievementMgr
Definition: AchievementMgr.h:501
The documentation for this class was generated from the following file: