GW2v2Skill

@Serializable
data class GW2v2Skill(val id: Int, val name: String, val description: String, val icon: String, val chatLink: String, val flags: List<String>? = null, val type: String? = null, val weaponType: String? = null, val professions: List<String>? = null, val specialization: Int? = null, val slot: String? = null, val facts: List<GW2v2Skill.Fact>? = null, val traitedFacts: List<GW2v2Skill.TraitedFact>? = null, val categories: List<String>? = null, val attunement: String? = null, val cost: Int? = null, val dualWield: String? = null, val flipSkill: Int? = null, val initiative: Int? = null, val nextChain: Int? = null, val prevChain: Int? = null, val transformSkills: List<Int>? = null, val bundleSkills: List<Int>? = null, val toolbeltSkill: Int? = null)

Information about a skill.

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

flags

additional skill flags

type

the type of skill

weaponType

the type of weapon that the skill is on. (May be "None".)

professions

the IDs of the professions that can use the skill

specialization

the ID of the specialization required for the skill

slot

the slot that the skill fits into

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.

categories

the categories that the skill falls under

attunement

the attunement required for the skill

cost

the cost associated with the skill

dualWield

the type of off-hand weapon that must be equipped for this dual-wield skill to appear

flipSkill

the ID of the skill that the skill flips over into

initiative

the skill's initiative cost

nextChain

the ID of the next skill in the chain

prevChain

the ID of the previous skill in the chain

transformSkills

the IDs of the skills that will replace the player's skills when using the skill

bundleSkills

the IDs of the skills that will replace the player's skills when using the skill

toolbeltSkill

the ID of the associated toolbelt skill

Constructors

Link copied to clipboard
constructor(id: Int, name: String, description: String, icon: String, chatLink: String, flags: List<String>? = null, type: String? = null, weaponType: String? = null, professions: List<String>? = null, specialization: Int? = null, slot: String? = null, facts: List<GW2v2Skill.Fact>? = null, traitedFacts: List<GW2v2Skill.TraitedFact>? = null, categories: List<String>? = null, attunement: String? = null, cost: Int? = null, dualWield: String? = null, flipSkill: Int? = null, initiative: Int? = null, nextChain: Int? = null, prevChain: Int? = null, transformSkills: List<Int>? = null, bundleSkills: List<Int>? = null, toolbeltSkill: Int? = 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 attunement: String? = null

This field holds the attunement required for the skill.

Link copied to clipboard
@SerialName(value = "bundle_skills")
val bundleSkills: List<Int>? = null

This field holds the IDs of the skills that will replace the player's skills when using the skill.

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
val cost: Int? = null

This field holds the cost associated with the skill.

Link copied to clipboard

This field holds the skill's localized description.

Link copied to clipboard
@SerialName(value = "dual_wield")
val dualWield: String? = null

This field holds the type of off-hand weapon that must be equipped for this dual-wield skill to appear.

Link copied to clipboard
val facts: List<GW2v2Skill.Fact>? = null

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
@SerialName(value = "flip_skill")
val flipSkill: Int? = null

This field holds the ID of the skill that the skill flips over into.

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
val initiative: Int? = null

This field holds the skill's initiative cost.

Link copied to clipboard

This field holds the skill's localized name.

Link copied to clipboard
@SerialName(value = "next_chain")
val nextChain: Int? = null

This field holds the ID of the next skill in the chain.

Link copied to clipboard
@SerialName(value = "prev_chain")
val prevChain: Int? = null

This field holds the ID of the previous skill in the chain.

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

This field holds the IDs of the professions that can use the skill.

Link copied to clipboard
val slot: String? = null

This field holds the slot that the skill fits into.

Link copied to clipboard
val specialization: Int? = null

This field holds the ID of the specialization required for the skill.

Link copied to clipboard
@SerialName(value = "toolbelt_skill")
val toolbeltSkill: Int? = null

This field holds the ID of the associated toolbelt skill.

Link copied to clipboard
@SerialName(value = "traited_facts")
val traitedFacts: List<GW2v2Skill.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..

Link copied to clipboard
@SerialName(value = "transform_skills")
val transformSkills: List<Int>? = null

This field holds the IDs of the skills that will replace the player's skills when using the skill.

Link copied to clipboard
val type: String? = null

This field holds the type of skill.

Link copied to clipboard
@SerialName(value = "weapon_type")
val weaponType: String? = null

This field holds the type of weapon that the skill is on. (May be "None".).