Class QuestDefinition#
Defined in File QuestDefinition.cs
Inheritance Relationships#
Base Type#
public xbe.sdk.EntityBase
(Class EntityBase)
Class Documentation#
- class xbe.sdk.Models.QuestDefinition : xbe.sdk.EntityBase#
Describes a single quest.
REQUIRES: Quest Services
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.
Public Static Functions
- new QuestDefinition Parse (string json)#
Parses the given JSON encoded string into a new QuestProgress instance.
- Param json:
- Return: