M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultMapWeatherModel.

Public Types

enum  WeatherEvent {
  Clear = 0 ,
  LightRain = 1 ,
  HeavyRain = 2 ,
  Snowy = 3 ,
  Blizzard = 4
}
 
enum  WeatherEventEffectOnTerrain {
  Default ,
  Wet
}
 

Public Member Functions

AtmosphereState GetInterpolatedAtmosphereState (CampaignTime timeOfYear, Vec3 pos)
 
AtmosphereInfo GetAtmosphereModel (Vec3 position)
 
void GetSeasonTimeFactorOfCampaignTime (CampaignTime ct, out float timeFactorForSnow, out float timeFactorForRain, bool snapCampaignTimeToWeatherPeriod=true)
 
WeatherEvent UpdateWeatherForPosition (Vec2 position, CampaignTime ct)
 
WeatherEvent GetWeatherEventInPosition (Vec2 pos)
 
WeatherEventEffectOnTerrain GetWeatherEffectOnTerrainForPosition (Vec2 pos)
 
void InitializeSnowAndRainAmountData (byte[] bytes)
 

Properties

CampaignTime WeatherUpdateFrequency [get]
 
CampaignTime WeatherUpdatePeriod [get]
 
int DefaultWeatherNodeDimension [get]
 

Member Enumeration Documentation

◆ WeatherEvent

Enumerator
Clear 
LightRain 
HeavyRain 
Snowy 
Blizzard 

◆ WeatherEventEffectOnTerrain

Member Function Documentation

◆ GetInterpolatedAtmosphereState()

AtmosphereState TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.GetInterpolatedAtmosphereState ( CampaignTime timeOfYear,
Vec3 pos )
abstract

◆ GetAtmosphereModel()

AtmosphereInfo TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.GetAtmosphereModel ( Vec3 position)
abstract

◆ GetSeasonTimeFactorOfCampaignTime()

void TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.GetSeasonTimeFactorOfCampaignTime ( CampaignTime ct,
out float timeFactorForSnow,
out float timeFactorForRain,
bool snapCampaignTimeToWeatherPeriod = true )
abstract

◆ UpdateWeatherForPosition()

WeatherEvent TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.UpdateWeatherForPosition ( Vec2 position,
CampaignTime ct )
abstract

◆ GetWeatherEventInPosition()

WeatherEvent TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.GetWeatherEventInPosition ( Vec2 pos)
abstract

◆ GetWeatherEffectOnTerrainForPosition()

WeatherEventEffectOnTerrain TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.GetWeatherEffectOnTerrainForPosition ( Vec2 pos)
abstract

◆ InitializeSnowAndRainAmountData()

void TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.InitializeSnowAndRainAmountData ( byte[] bytes)
abstract

Property Documentation

◆ WeatherUpdateFrequency

CampaignTime TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.WeatherUpdateFrequency
getabstract

◆ WeatherUpdatePeriod

CampaignTime TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.WeatherUpdatePeriod
getabstract

◆ DefaultWeatherNodeDimension

int TaleWorlds.CampaignSystem.ComponentInterfaces.MapWeatherModel.DefaultWeatherNodeDimension
getabstract