Class Quest#

Inheritance Relationships#

Base Type#

Class Documentation#

class Quest : public xbe::sdk::EntityBase#

Tracks the progress of a specific quest for a given persona.

Public Functions

inline Quest()#
inline Quest(const Quest &value)#
inline Quest(Quest &&value)#
inline virtual ~Quest()#
inline virtual Quest &SetProperties(const std::map<utility::string_t, Variant> &value) override#

Sets the object’s underlying map of stored values.

inline virtual Quest &SetProperties(std::map<utility::string_t, Variant> &&value) override#

Sets the underlying map of stored values for the object.

inline virtual Quest &SetProperty(const utility::char_t *name, const Variant &value) override#

Sets the property of the given name to the provided value.

inline virtual Quest &SetProperty(const utility::string_t &name, const Variant &value) override#

Sets the property of the given name to the provided value.

inline virtual Quest &SetRemoteUrl(const utility::string_t &url) override#

Returns the URL of the remote server endpoint where the object is managed.

inline virtual Quest &SetUid(const utility::string_t &value) override#

Sets the value of the Uid property.

Parameters:

value – The value to set.

inline virtual Quest &SetDateCreated(const datetime &value) override#

Sets the value of the DateCreated property.

Parameters:

value – The value to set.

inline virtual Quest &SetDateModified(const datetime &value) override#

Sets the value of the DateModified property.

Parameters:

value – The value to set.

inline virtual Quest &SetVersion(const uint64_t value) override#

Sets the value of the Version property.

Parameters:

value – The value to set.

virtual void Validate() override#
utility::string_t GetQuestUid() const#

Returns the unique identifier of the quest being tracked.

utility::string_t GetPersonaUid() const#

Returns unique identifier of the persona whose quest progress is being tracked.

std::vector<std::shared_ptr<QuestProgress>> GetProgress() const#

The persona’s current progress for each of the quest requirements.

int64_t GetCompletions() const#

Returns the number of times that the quest has been completed by the persona.

datetime GetDateLastCompleted() const#

Returns the date and time that the persona last completed the quest.

datetime GetDateLastStarted() const#

Returns the date and time that the persona last started the quest.

utility::string_t GetProductUid() const#

The uid of the product that the zone is associated with.

bool IsUnlocked() const#

Indicates if the persona has unlocked and can begin the quest.

std::vector<std::shared_ptr<QuestProgress>> GetUnlockProgress() const#

The persona’s curent progress towards unlocking the quest.

Public Static Functions

static inline const utility::char_t *ClassName()#

Returns the fully qualified name of the class.