Namespace FishMMO.Shared.Weather
Classes
- ShelterQuery
Where an NPC can get out of the weather (Phase 4 of the core and modules plan, 2026-11-18): the nearest shelter volume's bounds. The World Simulation module installs Source from its weather volumes; with none installed there is no shelter anywhere, and an NPC that would seek one stays where it is.
- SurfaceWater
The open water in the loaded scene — a sea, its lakes and rivers: where anything falling out of the sky stops, whether a point is under a surface, and how high the water stands at a place.
- WaterQuery
The water of a scene, for the simulation: where a character swims, how deep an agent would have to go, what drowns or burns. Keyed by scene, as WeatherQuery is, and answered at a synced server tick, so the server and a predicting client get the identical answer.
- WeatherChannels
The channel table: counts, blend rules and helpers.
- WeatherExposureIngredient
One exposure state a recipe needs, and how far into it the character has to be.
- WeatherExposureRecipe
A state that exists only where two or more others do at once: soaked AND chilled is frozen, which is not what either one alone means.
- WeatherExposureTemplate
A state the weather can put a character into — wet, chilled, wind-burnt — and the buff that goes with it. Static content: what the weather has to be doing, how long it takes to build and to wear off, and what it applies. Never any runtime state; the levels live on WeatherExposureController, one set per character.
- WeatherExposureTerm
One input's contribution to an exposure state.
- WeatherExposureTick
Converts a prediction replicate's tick into the tick the weather timeline is evaluated at.
- WeatherQuery
The weather at a place and tick, for gameplay: the core's question, answered by whichever weather is installed.
Structs
- WaterSample
The water over a place at a tick.
- WeatherAir
What the air is doing at a place and a moment: the synoptic state the weather driver computes.
- WeatherFrame
One value per WeatherChannel. A value type with named fields so sampling weather for every player every second allocates nothing.
- WeatherReading
The weather at a place and tick, as gameplay reads it: the frame of channels, the air, the temperature and the shelter. Core vocabulary (Phase 4 of the core and modules plan, 2026-11-17).
Interfaces
- ISeaLevel
A scene's sea as the water contract needs it: its level at a tick.
SeaTide(the tide driven by the world's moons) implements it; a game without that module can register a flat sea.
- SurfaceWater.IAreaSource
Water that stands only in some places: lakes and rivers.
- SurfaceWater.IDaylightSource
A sea that dims the daylight on its way down to its floor (2026-10-25, phase I2m, decision 36 (c)): how much per metre, the scene cut's (BiomeSeaFloors.DaylightExtinction); 0 for none.
- SurfaceWater.IFlowingAreaSource
Area water some of which may be molten lava (a lava tube's river, a pit in its chamber): which the highest surface over a place is, so what lives, wades, splashes or floats in water can leave lava alone.
- SurfaceWater.ISource
What a body of open water tells the weather about itself.
- SurfaceWater.IStackedAreaSource
Area water that stands at more than one level over a place (2026-10-21: a cave's stream under a lava tube's river on the level over it, a lake on the hill over both): which surface a height is in or over, not only the highest.
- SurfaceWater.IWaveSource
Water whose drawn surface moves (the sea's waves): what a floating body is set on to ride them.
Enums
- PrecipitationKind
What mostly falls.
- WaterBody
What a body of water is, to anything that swims, wades or drowns in it.
- WeatherBlendRule
How a channel combines when several layers write to it.
- WeatherChannel
Everything a weather layer can say about the world. A frame is one value per channel, each 0..1 unless noted, and blending layers means combining these channels.
- WeatherExposureInput
What one term of an exposure state reads: a channel of the blended weather, or one of the driver's physical air properties.
- WeatherExposureTemperatureResponse
How a state answers to how cold or hot it is where the character stands.
- WeatherKindMask
A set of kinds of weather, for what a volume shelters from or suppresses.
- WeatherSceneMode
How a scene gets its weather.
Delegates
- ShelterQuery.NearestSource
The nearest shelter of at least the strength within reach of a point; installed by the module.