Class QuestDefinition#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Models.QuestDefinition : xbe.sdk.EntityBase#

Describes a single quest.

REQUIRES: Quest Services

Public Functions

QuestDefinition ()#
QuestDefinition (Object obj)

Properties

string Name { get; set; }#

The unique name of the quest.

string Title { get; set; }#

The textual title or name of the quest.

string Description { get; set; }#

The textual description of the quest.

string Icon { get; set; }#

The icon to display when representing the quest.

Guid EntityUid { get; set; }#

The universally unique identifier of the entity that gives out the quest.

Guid ProductUid { get; set; }#

The uid of the product that this quest is associated with.

REQUIRES: Quest Services Studio.

QuestRequirement > Requirements { get; set; }#

The list of requirements that the persona must fulfill to complete the quest.

QuestReward > Rewards { get; set; }#

The list of rewards that will be given once the quest has been completed.

DateTime DateAvailable { get; set; }#

The date and time that the quest will be first made available. A 0 or invalid value indicates immediately available.

DateTime DateFinished { get; set; }#

The date and time that the quest will no longer be available. A 0 or invalid value indicates no end date.

string Frequency { get; set; }#

The frequency that the quest can be repeated (e.g. 5m, 1h, 1w). A null value indicates that the quest cannot be repeated.

QuestRequirement > UnlockRequirements { get; set; }#

The list of requirements that the persona must meet to unlock the quest.

bool Autostart { get; set; }#

The indication of quest progress starting and tracking automatically.

Object Data { get; set; }#

The custom data to be used by the product.

Public Static Functions

new QuestDefinition Parse (string json)#

Parses the given JSON encoded string into a new QuestProgress instance.

Param json:

Return: