|
| Scenario (Map *map, ScenarioData const *scenarioData) |
|
| ~Scenario () |
|
void | Reset () override |
|
void | SetStep (ScenarioStepEntry const *step) |
|
virtual void | CompleteStep (ScenarioStepEntry const *step) |
|
virtual void | CompleteScenario () |
|
virtual void | OnPlayerEnter (Player *player) |
|
virtual void | OnPlayerExit (Player *player) |
|
virtual void | Update (uint32) |
|
bool | IsComplete () const |
|
bool | IsCompletedStep (ScenarioStepEntry const *step) |
|
void | SetStepState (ScenarioStepEntry const *step, ScenarioStepState state) |
|
ScenarioEntry const * | GetEntry () const |
|
ScenarioStepState | GetStepState (ScenarioStepEntry const *step) const |
|
ScenarioStepEntry const * | GetStep () const |
|
ScenarioStepEntry const * | GetFirstStep () const |
|
ScenarioStepEntry const * | GetLastStep () const |
|
void | SendScenarioState (Player const *player) const |
|
void | SendBootPlayer (Player const *player) const |
|
Public Member Functions inherited from CriteriaHandler |
| CriteriaHandler () |
|
virtual | ~CriteriaHandler () |
|
| CriteriaHandler (CriteriaHandler const &right)=delete |
|
| CriteriaHandler (CriteriaHandler &&right)=delete |
|
CriteriaHandler & | operator= (CriteriaHandler const &right)=delete |
|
CriteriaHandler & | operator= (CriteriaHandler &&right)=delete |
|
virtual void | Reset () |
|
void | UpdateCriteria (CriteriaType type, uint64 miscValue1=0, uint64 miscValue2=0, uint64 miscValue3=0, WorldObject const *ref=nullptr, Player *referencePlayer=nullptr) |
|
virtual void | SendAllData (Player const *receiver) const =0 |
|
void | UpdateTimedCriteria (Milliseconds timeDiff) |
|
void | StartCriteria (CriteriaStartEvent startEvent, uint32 entry, Milliseconds timeLost=Milliseconds::zero()) |
|
virtual void | FailCriteria (CriteriaFailEvent failEvent, uint32 asset) |
|
|
void | SendCriteriaUpdate (Criteria const *criteria, CriteriaProgress const *progress, Seconds timeElapsed, bool timedCompleted) const override |
|
void | SendCriteriaProgressRemoved (uint32) override |
|
bool | CanUpdateCriteriaTree (Criteria const *criteria, CriteriaTree const *tree, Player *referencePlayer) const override |
|
bool | CanCompleteCriteriaTree (CriteriaTree const *tree) override |
|
void | CompletedCriteriaTree (CriteriaTree const *tree, Player *referencePlayer) override |
|
void | AfterCriteriaTreeUpdate (CriteriaTree const *, Player *) override |
|
void | DoForAllPlayers (std::function< void(Player *)> const &worker) const |
|
void | SendPacket (WorldPacket const *data) const override |
|
void | SendAllData (Player const *) const override |
|
void | BuildScenarioStateFor (Player const *player, WorldPackets::Scenario::ScenarioState *scenarioState) const |
|
std::vector< WorldPackets::Scenario::BonusObjectiveData > | GetBonusObjectivesData () const |
|
std::vector< WorldPackets::Achievement::CriteriaProgress > | GetCriteriasProgressFor (Player const *player) const |
|
CriteriaList const & | GetCriteriaByType (CriteriaType type, uint32 asset) const override |
|
Protected Member Functions inherited from CriteriaHandler |
virtual void | SendCriteriaUpdate (Criteria const *criteria, CriteriaProgress const *progress, Seconds timeElapsed, bool timedCompleted) const =0 |
|
CriteriaProgress * | GetCriteriaProgress (Criteria const *entry) |
|
void | SetCriteriaProgress (Criteria const *criteria, uint64 changeValue, Player *referencePlayer, ProgressType progressType=PROGRESS_SET) |
|
void | RemoveCriteriaProgress (Criteria const *criteria) |
|
virtual void | SendCriteriaProgressRemoved (uint32 criteriaId)=0 |
|
bool | IsCompletedCriteriaTree (CriteriaTree const *tree) |
|
virtual bool | CanUpdateCriteriaTree (Criteria const *criteria, CriteriaTree const *tree, Player *referencePlayer) const |
|
virtual bool | CanCompleteCriteriaTree (CriteriaTree const *tree) |
|
virtual void | CompletedCriteriaTree (CriteriaTree const *tree, Player *referencePlayer)=0 |
|
virtual void | AfterCriteriaTreeUpdate (CriteriaTree const *, Player *) |
|
bool | IsCompletedCriteria (Criteria const *criteria, uint64 requiredAmount) |
|
bool | CanUpdateCriteria (Criteria const *criteria, CriteriaTreeList const *trees, uint64 miscValue1, uint64 miscValue2, uint64 miscValue3, WorldObject const *ref, Player *referencePlayer) |
|
virtual void | SendPacket (WorldPacket const *data) const =0 |
|
bool | ConditionsSatisfied (Criteria const *criteria, Player *referencePlayer) const |
|
bool | RequirementsSatisfied (Criteria const *criteria, uint64 miscValue1, uint64 miscValue2, uint64 miscValue3, WorldObject const *ref, Player *referencePlayer) const |
|
virtual bool | RequiredAchievementSatisfied (uint32) const |
|
bool | ModifierTreeSatisfied (ModifierTreeNode const *parent, uint64 miscValue1, uint64 miscValue2, WorldObject const *ref, Player *referencePlayer) const |
|
bool | ModifierSatisfied (ModifierTreeEntry const *modifier, uint64 miscValue1, uint64 miscValue2, WorldObject const *ref, Player *referencePlayer) const |
|
virtual std::string | GetOwnerInfo () const =0 |
|
virtual CriteriaList const & | GetCriteriaByType (CriteriaType type, uint32 asset) const =0 |
|
Definition at line 52 of file Scenario.h.