GW2v2Story

@Serializable
data class GW2v2Story(val id: Int, val season: String, val name: String, val description: String, val timeline: String, val level: Int, val order: Int, val chapters: List<GW2v2Story.Chapter>, val races: List<String>? = null, val flags: List<String>? = null)

Information about a Story Journal season.

Parameters

id

the ID of the story

season

the ID of the story's season

name

the localized name of the story

description

the localized description of the story

timeline

the in-game date of the story

level

the minimum level required to start to begin the story

order

a number that can be used to sort the list of stories

chapters

the story's chapters

races

the races eligible to participate in the story

flags

additional requirements for a character to participate in the story

Constructors

Link copied to clipboard
constructor(id: Int, season: String, name: String, description: String, timeline: String, level: Int, order: Int, chapters: List<GW2v2Story.Chapter>, races: List<String>? = null, flags: List<String>? = null)

Types

Link copied to clipboard
@Serializable
data class Chapter(val name: String)

Information about a story chapter.

Properties

Link copied to clipboard

This field holds the story's chapters.

Link copied to clipboard

This field holds the localized description of the story.

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

This field holds additional requirements for a character to participate in the story.

Link copied to clipboard
val id: Int

This field holds the ID of the story.

Link copied to clipboard
val level: Int

This field holds the minimum level required to start to begin the story.

Link copied to clipboard

This field holds the localized name of the story.

Link copied to clipboard
val order: Int

This field holds a number that can be used to sort the list of stories.

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

This field holds the races eligible to participate in the story.

Link copied to clipboard

This field holds the ID of the story's season.

Link copied to clipboard

This field holds the in-game date of the story.