Skill

@Serializable
data class Skill(val id: Int, val name: String, val description: String, val icon: String, val chatLink: String, val categories: List<String>? = null, val flags: List<String>? = null, val facts: List<GW2v2Trait.Skill.Fact>? = null, val traitedFacts: List<GW2v2Trait.Skill.TraitedFact>? = null)

Information about a skill related to a trait.

Parameters

id

the skill's ID

name

the skill's localized name

description

the skill's localized description

icon

a render service URL for the skill's icon

chatLink

the skill's chat code

categories

the categories that the skill falls under

flags

additional skill flags

facts

an array of facts describing the skill's effect

traitedFacts

Information about a trait's fact (i.e. effect/property) that is only active if a specific trait is active.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, description: String, icon: String, chatLink: String, categories: List<String>? = null, flags: List<String>? = null, facts: List<GW2v2Trait.Skill.Fact>? = null, traitedFacts: List<GW2v2Trait.Skill.TraitedFact>? = null)

Types

Link copied to clipboard

Information about a trait's fact (i.e. effect/property).

Link copied to clipboard

a list of traited facts

Properties

Link copied to clipboard
val categories: List<String>? = null

This field holds the categories that the skill falls under.

Link copied to clipboard
@SerialName(value = "chat_link")
val chatLink: String

This field holds the skill's chat code.

Link copied to clipboard

This field holds the skill's localized description.

Link copied to clipboard

This field holds an array of facts describing the skill's effect.

Link copied to clipboard
val flags: List<String>? = null

This field holds additional skill flags.

Link copied to clipboard

This field holds a render service URL for the skill's icon.

Link copied to clipboard
val id: Int

This field holds the skill's ID.

Link copied to clipboard

This field holds the skill's localized name.

Link copied to clipboard
@SerialName(value = "traited_facts")
val traitedFacts: List<GW2v2Trait.Skill.TraitedFact>? = null

This field holds Information about a trait's fact (i.e. effect/property) that is only active if a specific trait is active..