Show / Hide Table of Contents

Class WeatherTable

The complete weather table for all climates and seasons

Inheritance
Object
WeatherTable
Namespace: DaggerfallWorkshop.Game.Weather
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public class WeatherTable

Fields

| Improve this Doc View Source

Desert

Declaration
public WeatherClimate Desert
Field Value
Type Description
WeatherClimate
| Improve this Doc View Source

Jungle

Declaration
public WeatherClimate Jungle
Field Value
Type Description
WeatherClimate
| Improve this Doc View Source

Mountains

Declaration
public WeatherClimate Mountains
Field Value
Type Description
WeatherClimate
| Improve this Doc View Source

Subtropical

Declaration
public WeatherClimate Subtropical
Field Value
Type Description
WeatherClimate
| Improve this Doc View Source

Swamp

Declaration
public WeatherClimate Swamp
Field Value
Type Description
WeatherClimate
| Improve this Doc View Source

Woodlands

Declaration
public WeatherClimate Woodlands
Field Value
Type Description
WeatherClimate

Methods

| Improve this Doc View Source

GetWeather(Int32, DaggerfallDateTime.Seasons)

Computes the next weather based on the chances for the given climate and season.

Declaration
public WeatherType GetWeather(int climate, DaggerfallDateTime.Seasons season)
Parameters
Type Name Description
Int32 climate

Climate index from PlayerGPS

DaggerfallDateTime.Seasons season

Current season

Returns
Type Description
WeatherType

Next random weather

| Improve this Doc View Source

ParseJsonTable()

Parses the weather JSON table.

Declaration
public static WeatherTable ParseJsonTable()
Returns
Type Description
WeatherTable

A weather table object

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX