@acceleratxr/core_sdk / SkillRequirement

Class: SkillRequirement#

Defines a single requirement that must be met to unlock a skill.

author Jean-Philippe Steinmetz info@acceleratxr.com

Hierarchy#

  • SkillRequirement

Index#

Constructors#

Properties#

Accessors#

Constructors#

constructor#

+ new SkillRequirement(other?: any): SkillRequirement

Defined in src/models/SkillRequirement.ts:36

Parameters:#

Name

Type

other?

any

Returns: SkillRequirement

Properties#

description#

description: string = “”

Defined in src/models/SkillRequirement.ts:26

The textual description of the requirement.


icon#

icon: string = “”

Defined in src/models/SkillRequirement.ts:31

The icon to display for the requirement.


title#

title: string = “”

Defined in src/models/SkillRequirement.ts:21

The textual title or name of the requirement.


type#

type: string = “”

Defined in src/models/SkillRequirement.ts:16

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


value#

value: any = undefined

Defined in src/models/SkillRequirement.ts:36

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

Accessors#

ClassName#

Staticget ClassName(): string

Defined in src/models/SkillRequirement.ts:11

Returns: string