![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
reset_commandscript () | |
ChatCommandTable | GetCommands () const override |
virtual std::vector< Acore::ChatCommands::ChatCommandBuilder > | GetCommands () const =0 |
![]() | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
Static Public Member Functions | |
static bool | HandleResetAchievementsCommand (ChatHandler *handler, char const *args) |
static bool | HandleResetHonorCommand (ChatHandler *handler, char const *args) |
static bool | HandleResetStatsOrLevelHelper (Player *player) |
static bool | HandleResetLevelCommand (ChatHandler *handler, char const *args) |
static bool | HandleResetSpellsCommand (ChatHandler *handler, char const *args) |
static bool | HandleResetStatsCommand (ChatHandler *handler, char const *args) |
static bool | HandleResetTalentsCommand (ChatHandler *handler, char const *args) |
static bool | HandleResetAllCommand (ChatHandler *handler, char const *args) |
Additional Inherited Members | |
![]() | |
CommandScript (const char *name) | |
![]() | |
ScriptObject (const char *name) | |
virtual | ~ScriptObject ()=default |
|
inline |
|
inlineoverridevirtual |
Implements CommandScript.
References HandleResetAchievementsCommand(), HandleResetAllCommand(), HandleResetHonorCommand(), HandleResetLevelCommand(), HandleResetSpellsCommand(), HandleResetStatsCommand(), HandleResetTalentsCommand(), SEC_ADMINISTRATOR, and SEC_CONSOLE.
|
inlinestatic |
References AchievementMgr::DeleteFromDB(), ChatHandler::extractPlayerTarget(), ObjectGuid::GetCounter(), and Player::ResetAchievements().
Referenced by GetCommands().
|
inlinestatic |
References AT_LOGIN_RESET_PET_TALENTS, AT_LOGIN_RESET_SPELLS, AT_LOGIN_RESET_TALENTS, CHAR_UPD_ALL_AT_LOGIN_FLAGS, CharacterDatabase, ObjectAccessor::GetPlayers(), ChatHandler::GetSession(), LANG_RESETALL_SPELLS, LANG_RESETALL_TALENTS, LANG_RESETALL_UNKNOWN_CASE, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), PreparedStatementBase::SetData(), ChatHandler::SetSentErrorMessage(), and sWorld.
Referenced by GetCommands().
|
inlinestatic |
References ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL, ChatHandler::extractPlayerTarget(), PLAYER_FIELD_KILLS, PLAYER_FIELD_LIFETIME_HONORABLE_KILLS, PLAYER_FIELD_TODAY_CONTRIBUTION, PLAYER_FIELD_YESTERDAY_CONTRIBUTION, Player::SetHonorPoints(), Object::SetUInt32Value(), and Player::UpdateAchievementCriteria().
Referenced by GetCommands().
|
inlinestatic |
References Player::_ApplyAllLevelScaleItemMods(), CLASS_DEATH_KNIGHT, CONFIG_START_HEROIC_PLAYER_LEVEL, CONFIG_START_PLAYER_LEVEL, ChatHandler::extractPlayerTarget(), Unit::getClass(), Unit::GetLevel(), Player::GetPet(), HandleResetStatsOrLevelHelper(), Player::InitGlyphsForLevel(), Player::InitRunes(), Player::InitStatsForLevel(), Player::InitTalentForLevel(), Player::InitTaxiNodesForLevel(), PLAYER_XP, Unit::SetLevel(), Object::SetUInt32Value(), sScriptMgr, and sWorld.
Referenced by GetCommands().
|
inlinestatic |
References AT_LOGIN_RESET_SPELLS, CHAR_UPD_ADD_AT_LOGIN_FLAG, CharacterDatabase, ChatHandler::extractPlayerTarget(), ObjectGuid::GetCounter(), ChatHandler::GetNameLink(), WorldSession::GetPlayer(), ChatHandler::GetSession(), Player::GetSession(), LANG_RESET_SPELLS, LANG_RESET_SPELLS_OFFLINE, LANG_RESET_SPELLS_ONLINE, ChatHandler::PSendSysMessage(), Player::resetSpells(), ChatHandler::SendSysMessage(), and PreparedStatementBase::SetData().
Referenced by GetCommands().
|
inlinestatic |
References ChatHandler::extractPlayerTarget(), HandleResetStatsOrLevelHelper(), Player::InitGlyphsForLevel(), Player::InitRunes(), Player::InitStatsForLevel(), Player::InitTalentForLevel(), and Player::InitTaxiNodesForLevel().
Referenced by GetCommands().
|
inlinestatic |
References FORM_NONE, Unit::getClass(), Unit::getGender(), Unit::getRace(), Unit::GetShapeshiftForm(), Unit::HasAuraType(), Player::InitDisplayIds(), LOG_ERROR, PLAYER_FIELD_WATCHED_FACTION_INDEX, ChrClassesEntry::powerType, Unit::ReplaceAllUnitFlags(), sChrClassesStore, Object::SetByteValue(), Player::SetFactionForRace(), Unit::SetShapeshiftForm(), Object::SetUInt32Value(), SPELL_AURA_MOD_SHAPESHIFT, UNIT_BYTE2_FLAG_PVP, UNIT_FIELD_BYTES_0, UNIT_FIELD_BYTES_2, and UNIT_FLAG_PLAYER_CONTROLLED.
Referenced by HandleResetLevelCommand(), and HandleResetStatsCommand().
|
inlinestatic |
References AT_LOGIN_RESET_PET_TALENTS, AT_LOGIN_RESET_TALENTS, CHAR_UPD_ADD_AT_LOGIN_FLAG, CharacterDatabase, ChatHandler::extractPlayerTarget(), ObjectGuid::GetCounter(), ChatHandler::GetNameLink(), Unit::GetOwner(), Player::GetPet(), WorldSession::GetPlayer(), ChatHandler::getSelectedCreature(), ChatHandler::GetSession(), Player::GetSession(), Object::GetTypeId(), Pet::IsPermanentPetFor(), Unit::IsPet(), LANG_NO_CHAR_SELECTED, LANG_RESET_PET_TALENTS, LANG_RESET_PET_TALENTS_ONLINE, LANG_RESET_TALENTS, LANG_RESET_TALENTS_OFFLINE, LANG_RESET_TALENTS_ONLINE, ChatHandler::playerLink(), ChatHandler::PSendSysMessage(), Pet::resetTalents(), Player::resetTalents(), Pet::resetTalentsForAllPetsOf(), ChatHandler::SendSysMessage(), Player::SendTalentsInfoData(), PreparedStatementBase::SetData(), ChatHandler::SetSentErrorMessage(), Unit::ToPet(), Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by GetCommands().