@acceleratxr/core_sdk / QuestRequirement

Class: QuestRequirement#

Defines a single requirement that must be met to fulfill a quest.

author Jean-Philippe Steinmetz info@acceleratxr.com

Hierarchy#

  • QuestRequirement

Index#

Constructors#

Properties#

Accessors#

Constructors#

constructor#

+ new QuestRequirement(other?: any): QuestRequirement

Defined in src/models/QuestRequirement.ts:40

Parameters:#

Name

Type

other?

any

Returns: QuestRequirement

Properties#

description#

description: string = “”

Defined in src/models/QuestRequirement.ts:30

The textual description of the requirement.


icon#

icon: string = “”

Defined in src/models/QuestRequirement.ts:35

The icon to display for the quest.


title#

title: string = “”

Defined in src/models/QuestRequirement.ts:25

The textual title or name of the requirement.


type#

type: string = “”

Defined in src/models/QuestRequirement.ts:20

The unique identifier that will be used to match telemetry events.


uid#

uid: string = “”

Defined in src/models/QuestRequirement.ts:15

The universally unique identifier of the object.


value#

value: number = 0

Defined in src/models/QuestRequirement.ts:40

The value that must be met in order for the requirement to be fulfilled.

Accessors#

ClassName#

Staticget ClassName(): string

Defined in src/models/QuestRequirement.ts:10

Returns: string