GW2v2PvpHero

@Serializable
data class GW2v2PvpHero(val id: String, val name: String, val description: String, val type: String, val stats: GW2v2PvpHero.Stats, val overlay: String, val underlay: String, val skins: List<GW2v2PvpHero.Skin>)

Information about a PvP hero.

Parameters

id

the PvP hero's ID

name

the hero's localized name

description

the hero's localized description

type

the flavor type describing the hero

stats

the hero's stats

overlay

the render service URL for the hero's overlay art

underlay

the render service URL for the hero's underlay art

skins

the hero's skins

Constructors

Link copied to clipboard
constructor(id: String, name: String, description: String, type: String, stats: GW2v2PvpHero.Stats, overlay: String, underlay: String, skins: List<GW2v2PvpHero.Skin>)

Types

Link copied to clipboard
@Serializable
data class Skin(val id: Int, val name: String, val icon: String, val default: Boolean, val unlockItems: List<GW2ItemId>)

Information about a PvP hero's skin.

Link copied to clipboard
@Serializable
data class Stats(val offense: Int, val defense: Int, val speed: Int)

Information about a hero's stats.

Properties

Link copied to clipboard

This field holds the hero's localized description.

Link copied to clipboard
val id: String

This field holds the PvP hero's ID.

Link copied to clipboard

This field holds the hero's localized name.

Link copied to clipboard

This field holds the render service URL for the hero's overlay art.

Link copied to clipboard

This field holds the hero's skins.

Link copied to clipboard

This field holds the hero's stats.

Link copied to clipboard

This field holds the flavor type describing the hero.

Link copied to clipboard

This field holds the render service URL for the hero's underlay art.