EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

WeatherChangedEvent

The weather of a map actually changed.

Signature

{ current: WeatherId, kind: "weather_changed", map: MapRef, previous: WeatherId }

Fields

NameTypeMeaning
currentWeatherIdWeather after the change.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: weather
kind"weather_changed"Discriminant
mapMapRefInstantiated map in which this event occurs.
Length: 1…256; Pattern: ^[\s\S]+$
previousWeatherIdWeather before the change.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: weather