EventDetails

@Serializable
data class EventDetails(val name: String, val level: Int, val mapId: GW2MapId, val flags: List<String>, val location: GW2v1EventDetails.EventDetails.Location)

Information about an event.

Parameters

name

the event's name

level

the event's level

mapId

the ID of the map where the event takes place

flags

additional information about the event (e.g. group_event, map_wide, meta_event, dungeon_event)

location

the event's location

Constructors

Link copied to clipboard
constructor(name: String, level: Int, mapId: GW2MapId, flags: List<String>, location: GW2v1EventDetails.EventDetails.Location)

Types

Link copied to clipboard

Information about an event's location.

Properties

Link copied to clipboard

This field holds additional information about the event (e.g. group_event, map_wide, meta_event, dungeon_event).

Link copied to clipboard
val level: Int

This field holds the event's level.

Link copied to clipboard

This field holds the event's location.

Link copied to clipboard
@SerialName(value = "map_id")
val mapId: GW2MapId

This field holds the ID of the map where the event takes place.

Link copied to clipboard

This field holds the event's name.