![]() |
TrinityCore
|
#include <QuestDef.h>
Public Member Functions | |
| bool | IsStoringValue () const |
| bool | IsStoringFlag () const |
Static Public Member Functions | |
| static constexpr bool | CanAlwaysBeProgressedInRaid (QuestObjectiveType type) |
Public Attributes | |
| uint32 | ID = 0 |
| uint32 | QuestID = 0 |
| uint8 | Type = 0 |
| int8 | StorageIndex = 0 |
| int32 | ObjectID = 0 |
| int32 | Amount = 0 |
| int32 | ConditionalAmount = 0 |
| uint32 | Flags = 0 |
| uint32 | Flags2 = 0 |
| float | ProgressBarWeight = 0.0f |
| int32 | ParentObjectiveID = 0 |
| bool | Visible = false |
| std::string | Description |
| std::vector< int32 > | VisualEffects |
| QuestObjectiveAction * | CompletionEffect = nullptr |
Definition at line 476 of file QuestDef.h.
|
inlinestaticconstexpr |
Definition at line 532 of file QuestDef.h.
References QUEST_OBJECTIVE_CURRENCY, QUEST_OBJECTIVE_HAVE_CURRENCY, QUEST_OBJECTIVE_INCREASE_REPUTATION, QUEST_OBJECTIVE_ITEM, QUEST_OBJECTIVE_LEARNSPELL, QUEST_OBJECTIVE_MAX_REPUTATION, QUEST_OBJECTIVE_MIN_REPUTATION, and QUEST_OBJECTIVE_MONEY.
Referenced by Player::UpdateQuestObjectiveProgress().
|
inline |
Definition at line 515 of file QuestDef.h.
References QUEST_OBJECTIVE_AREA_TRIGGER_ENTER, QUEST_OBJECTIVE_AREA_TRIGGER_EXIT, QUEST_OBJECTIVE_AREATRIGGER, QUEST_OBJECTIVE_CRITERIA_TREE, QUEST_OBJECTIVE_DEFEATBATTLEPET, QUEST_OBJECTIVE_WINPETBATTLEAGAINSTNPC, and Type.
Referenced by Player::GetQuestSlotObjectiveData(), ConditionMgr::isConditionTypeValid(), Player::SetQuestObjectiveData(), and Player::UpdateQuestObjectiveProgress().
|
inline |
Definition at line 494 of file QuestDef.h.
References QUEST_OBJECTIVE_GAMEOBJECT, QUEST_OBJECTIVE_HAVE_CURRENCY, QUEST_OBJECTIVE_INCREASE_REPUTATION, QUEST_OBJECTIVE_ITEM, QUEST_OBJECTIVE_KILL_WITH_LABEL, QUEST_OBJECTIVE_MONSTER, QUEST_OBJECTIVE_OBTAIN_CURRENCY, QUEST_OBJECTIVE_PLAYERKILLS, QUEST_OBJECTIVE_TALKTO, QUEST_OBJECTIVE_WINPVPPETBATTLES, and Type.
Referenced by Player::UpdateQuestObjectiveProgress().
| int32 QuestObjective::Amount = 0 |
Definition at line 483 of file QuestDef.h.
Referenced by quest_commandscript::CompleteObjective(), ConditionMgr::isConditionTypeValid(), Player::IsQuestObjectiveComplete(), Quest::LoadQuestObjective(), Player::SendQuestUpdateAddCredit(), and Player::UpdateQuestObjectiveProgress().
| QuestObjectiveAction* QuestObjective::CompletionEffect = nullptr |
Definition at line 492 of file QuestDef.h.
Referenced by Quest::LoadQuestObjective(), and Player::UpdateQuestObjectiveProgress().
| int32 QuestObjective::ConditionalAmount = 0 |
Definition at line 484 of file QuestDef.h.
Referenced by Quest::LoadQuestObjective().
| std::string QuestObjective::Description |
Definition at line 490 of file QuestDef.h.
Referenced by Quest::LoadQuestObjective().
| uint32 QuestObjective::Flags = 0 |
Definition at line 485 of file QuestDef.h.
Referenced by Player::IsQuestObjectiveCompletable(), Quest::LoadQuestObjective(), and Player::UpdateQuestObjectiveProgress().
| uint32 QuestObjective::Flags2 = 0 |
Definition at line 486 of file QuestDef.h.
Referenced by Quest::LoadQuestObjective(), and Player::UpdateQuestObjectiveProgress().
| uint32 QuestObjective::ID = 0 |
Definition at line 478 of file QuestDef.h.
Referenced by QuestObjectiveCriteriaMgr::CanUpdateCriteriaTree(), QuestObjectiveCriteriaMgr::CompletedObjective(), QuestObjectiveCriteriaMgr::HasCompletedObjective(), ObjectMgr::IsQuestObjectiveForSpawnTracking(), Quest::LoadQuestObjective(), SmartQuest::OnQuestObjectiveChange(), QuestObjectiveCriteriaMgr::ResetCriteriaTree(), and Player::UpdateQuestObjectiveProgress().
| int32 QuestObjective::ObjectID = 0 |
Definition at line 482 of file QuestDef.h.
Referenced by QuestObjectiveCriteriaMgr::CompletedCriteriaTree(), quest_commandscript::CompleteObjective(), Player::IsQuestObjectiveComplete(), Player::KillCreditCriteriaTreeObjective(), ObjectMgr::LoadQuestAreaTriggers(), Quest::LoadQuestObjective(), QuestObjectiveCriteriaMgr::ResetCriteriaTree(), Player::SendQuestUpdateAddCredit(), and Player::SendQuestUpdateAddCreditSimple().
| int32 QuestObjective::ParentObjectiveID = 0 |
Definition at line 488 of file QuestDef.h.
Referenced by Quest::LoadQuestObjective().
| float QuestObjective::ProgressBarWeight = 0.0f |
Definition at line 487 of file QuestDef.h.
Referenced by Quest::LoadQuestObjective().
| uint32 QuestObjective::QuestID = 0 |
Definition at line 479 of file QuestDef.h.
Referenced by QuestObjectiveCriteriaMgr::CanUpdateCriteriaTree(), Player::GetQuestObjectiveData(), Player::GetQuestSlotObjectiveData(), Player::IsQuestObjectiveCompletable(), Player::IsQuestObjectiveComplete(), ObjectMgr::LoadQuestAreaTriggers(), Quest::LoadQuestObjective(), Condition::Meets(), CriteriaHandler::ModifierSatisfied(), Player::SendQuestUpdateAddCreditSimple(), and Player::SetQuestObjectiveData().
| int8 QuestObjective::StorageIndex = 0 |
Definition at line 481 of file QuestDef.h.
Referenced by Player::GetQuestSlotObjectiveData(), Quest::LoadQuestObjective(), Player::SetQuestObjectiveData(), and Player::UpdateQuestObjectiveProgress().
| uint8 QuestObjective::Type = 0 |
Definition at line 480 of file QuestDef.h.
Referenced by quest_commandscript::CompleteObjective(), Player::IsQuestObjectiveComplete(), IsStoringFlag(), IsStoringValue(), ObjectMgr::LoadQuestAreaTriggers(), Quest::LoadQuestObjective(), Player::SendQuestUpdateAddCredit(), Player::SendQuestUpdateAddCreditSimple(), and Player::UpdateQuestObjectiveProgress().
| bool QuestObjective::Visible = false |
Definition at line 489 of file QuestDef.h.
Referenced by Quest::LoadQuestObjective().
| std::vector<int32> QuestObjective::VisualEffects |
Definition at line 491 of file QuestDef.h.