CandideServer.ServerSystems.Weather.ServerWeatherSystem
Type JSONpublic class in CandideServer.ServerSystems.Weather
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerSystems.Weather - Base type
System.Object - Hash
587F9318C0423D208D007DEC705FF5F9C6CA3F8A724FAF2CF08C60900924751E
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
DespawnCheckTimer# | public | public System.Single DespawnCheckTimer |
OwlShadowIsComing# | public | public System.Boolean OwlShadowIsComing |
OwlShadowTiming# | public | public System.Single OwlShadowTiming |
ReuseOverlappingBiomeIds# | private | private System.Collections.Generic.HashSet<System.String> ReuseOverlappingBiomeIds |
ReuseOverlappingWeatherIds# | private | private System.Collections.Generic.HashSet<System.String> ReuseOverlappingWeatherIds |
ReuseValidWeatherIds# | private | private System.Collections.Generic.List<System.ValueTuple<System.String, System.Single>> ReuseValidWeatherIds |
SpawnCheckTimer# | public | public System.Single SpawnCheckTimer |
Methods
CheckWeatherConditions
#
private System.Boolean CheckWeatherConditions(CandideServer.Data.DataModels.ServerWeatherData weatherData)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
C30267A830B17B66D5DABDB5FB388DA875EAF8859027E55F3FE25572630D9C2F - Body hash
0D20BA0C63E810E032A32C98F718C2D11B3B2F306AE230B6BCEF764E4A292BFB - IL size382
Referenced calls
System.Collections.Generic.HashSet<System.String>::GetEnumerator()HashSet.Enumerator<System.String>::get_Current()System.String::op_Equality(System.String, System.String)HashSet.Enumerator<System.String>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.HashSet<System.String>::get_Count()
GatherBiomeIds
#
private System.Void GatherBiomeIds(System.Single cx, System.Single cy, System.Single radius, System.Int32 arrayWidth, System.Int32 arrayHeight)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2858BA46F41C176F81BB6406DF785C3D125A3B6DC85D94757A54149E82ED221D - Body hash
80373CA477A77680C800FF8AF2BC7A7406737E1DBF0A583284A40DD1B6FE9720 - IL size170
Referenced calls
System.String[,]::Get(System.Int32, System.Int32)System.Collections.Generic.HashSet<System.String>::Add(!0)
GatherWeatherSurroundings
#
private System.Void GatherWeatherSurroundings(Microsoft.Xna.Framework.Vector2 position, System.Single radius, System.Nullable<System.Guid> ignoreWeatherInstanceId, System.String ignoreWeatherId)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
529F6E762B888E74794B8726C78F206257FB2EBF679DC22F1E1590EDF78D0EA8 - Body hash
0914626B82E09F93FD654760EB37A07FE5CCF01FDF4028F815DAD2C790D15545 - IL size245
Referenced calls
System.Collections.Generic.HashSet<System.String>::Clear()CandideServer.ServerSystems.Weather.ServerWeatherSystem::GatherBiomeIds(System.Single, System.Single, System.Single, System.Int32, System.Int32)System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::get_Values()Dictionary.ValueCollection<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::get_Current()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)System.String::op_Equality(System.String, System.String)Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Collections.Generic.HashSet<System.String>::Add(!0)Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::MoveNext()System.IDisposable::Dispose()
NewDay
#
public System.Void NewDay()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
32EF12C3D9743B291AB9765666D786521147C1100EB95A5DD00070BF9D8AA87A - Body hash
2C837C456B15C10B3C7BF77A81D221BFE586F0E047D10C090FFC796775927C8E - IL size6
OnTimeSkip
#
public System.Void OnTimeSkip()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
08D3EEF8B9658DA3B4ED83E3C313CEF9DC56433393CAC79133D1E2F6A066A94E - Body hash
0A3C903001E8FC894C548C7CF95DCE84E1903E535F6B51BA6A95A2E11A27A7BB - IL size11
OnWeathersLoaded
#
public System.Void OnWeathersLoaded()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
17C6D529D25F216AAA9A280DDAF09A7739345E98F12A1DD7BCD297BB3306F2DD - Body hash
2C837C456B15C10B3C7BF77A81D221BFE586F0E047D10C090FFC796775927C8E - IL size6
SetupOwlShadowWeather
#
public System.Void SetupOwlShadowWeather()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
80C2CFCEE6BC9C60C224392DF9DB68343B8ADC64DB720752100F4CF8F386495C - Body hash
0307E9EDBC4D8188A6893742BC199CA49BD1A281EAAF978B867632BCC300EEC4 - IL size167
Referenced calls
System.Collections.Generic.HashSet<System.String>::Contains(!0)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Boss.BossLocationModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.Boss.BossLocationModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Boss.BossLocationModel>::get_Current()System.String::op_Inequality(System.String, System.String)System.Random::Next()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Boss.BossLocationModel>::MoveNext()System.IDisposable::Dispose()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)
Called by
String literals
reward:minerva:tier:1boss:minervas_owl
Update
#
public System.Void Update(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
EECE48340A3B6F27E898CA5C3D890FDCD587A4BFDC46C5E58D26268E07201093 - Body hash
A5C563078463E6E20562898F201AF46CE3D0105EF2037DF470BA67CE15F45D0E - IL size242
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::get_Values()Dictionary.ValueCollection<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::get_Current()CandideServer.ServerManagers.WeatherServerManager::RemoveWeather(System.Guid, System.Boolean)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideServer.Models.ServerChunkedWorld::CheckBounds(Microsoft.Xna.Framework.Vector2)Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Data.DataModels.IServerWeatherController>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Data.DataModels.IServerWeatherController>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Data.DataModels.IServerWeatherController>::get_Current()CandideServer.Data.DataModels.IServerWeatherController::Update(System.Single)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Data.DataModels.IServerWeatherController>::MoveNext()CandideServer.ServerSystems.Weather.ServerWeatherSystem::UpdateDespawnSystem(System.Single)CandideServer.ServerSystems.Weather.ServerWeatherSystem::UpdateWeatherSpawnSystem(System.Single)CandideServer.ServerSystems.Weather.ServerWeatherSystem::UpdateOwlShadow(System.Single)
Called by
UpdateDespawnSystem
#
private System.Void UpdateDespawnSystem(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
BEF7846D04984E10A0CA2FF9808C35672A07E63C4C508A969CC3019F28C927E7 - Body hash
55B13CAF2CC8805C7130CA0BA580D9540A861B14CABC53D0BC783B4CC993D215 - IL size198
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::get_Values()Dictionary.ValueCollection<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::get_Current()CandideServer.Database.ServerWeatherDataBase::TryGetWeatherData(System.String, CandideServer.Data.DataModels.ServerWeatherData&)CandideServer.ServerManagers.WeatherServerManager::RemoveWeather(System.Guid, System.Boolean)System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerSystems.Weather.ServerWeatherSystem::GatherWeatherSurroundings(Microsoft.Xna.Framework.Vector2, System.Single, System.Nullable<System.Guid>, System.String)CandideServer.ServerSystems.Weather.ServerWeatherSystem::CheckWeatherConditions(CandideServer.Data.DataModels.ServerWeatherData)Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::MoveNext()System.IDisposable::Dispose()
UpdateOwlShadow
#
private System.Void UpdateOwlShadow(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
7526169A2FDCD3FCC34C96CD45946C8DC7FECD6F27F98A0BEAC60AC452A8A17D - Body hash
918E53236C252D22796C0EC7A6C52F4579AA32BAC18EDBFFF378F0D19189B2D7 - IL size822
Referenced calls
CandideServer.ServerSystems.TimeServerSystem::get_IsNight()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Boss.BossLocationModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.Boss.BossLocationModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Boss.BossLocationModel>::get_Current()System.String::op_Inequality(System.String, System.String)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Boss.BossLocationModel>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Boss.BossFightModel>::GetEnumerator()Dictionary.Enumerator<System.Guid, CandideServer.Models.Boss.BossFightModel>::get_Current()System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.Models.Boss.BossFightModel>::get_Value()System.String::op_Equality(System.String, System.String)Dictionary.Enumerator<System.Guid, CandideServer.Models.Boss.BossFightModel>::MoveNext()System.Collections.Generic.List<CandideServer.Models.Player.ServerPlayerCharacter>::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::get_Current()System.Guid::op_Inequality(System.Guid, System.Guid)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::ToPoint()CandideServer.Helpers.ServerWorldTileHelper::TryGetTileBiome(System.Int32, System.Int32, System.String&)System.Collections.Generic.List<CandideServer.Models.Player.ServerPlayerCharacter>::Add(!0)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::MoveNext()System.Collections.Generic.List<CandideServer.Models.Player.ServerPlayerCharacter>::get_Count()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.Random::Next(System.Int32)System.Collections.Generic.List<CandideServer.Models.Player.ServerPlayerCharacter>::get_Item(System.Int32)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
String literals
boss:minervas_owlbiome:plainsbiome:plains_drybiome:forestbiome:roadowl_shadowWorldEvent_SkyPresenceevent:/creature/minerva/minerva_flyover
UpdateWeatherSpawnSystem
#
private System.Void UpdateWeatherSpawnSystem(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
B7561E7A9D0D60F465C24B8F0F9EB91C70080A96CD042A48D28108F7DBA4CD0F - Body hash
68E39241229356EFB18FFE219613A069B2BB084374DD2924608ADBCCB2CEEEA0 - IL size709
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.DateTime::get_TimeOfDay()System.TimeSpan::get_TotalHours()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::get_Current()CandideServer.ServerManagers.PlayerCharacterServerManager::TryGetPlayerNearestOutsidePosition(Shared.Models.Player.PlayerCharacterModel, Microsoft.Xna.Framework.Vector2&)CandideCreator.Shared.Helpers.RandomHelper::NextPointInCircle(System.Random)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideServer.ServerSystems.Weather.ServerWeatherSystem::GatherWeatherSurroundings(Microsoft.Xna.Framework.Vector2, System.Single, System.Nullable<System.Guid>, System.String)System.Collections.Generic.List<System.ValueTuple<System.String, System.Single>>::Clear()System.Collections.Generic.Dictionary<System.String, CandideServer.Data.DataModels.ServerWeatherData>::GetEnumerator()Dictionary.Enumerator<System.String, CandideServer.Data.DataModels.ServerWeatherData>::get_Current()System.Collections.Generic.KeyValuePair<System.String, CandideServer.Data.DataModels.ServerWeatherData>::Deconstruct(!0&, !1&)System.Func<System.Collections.Generic.HashSet<System.String>, System.Single, System.Single>::Invoke(!0, !1)CandideServer.ServerSystems.Weather.ServerWeatherSystem::CheckWeatherConditions(CandideServer.Data.DataModels.ServerWeatherData)System.ValueTuple<System.String, System.Single>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<System.String, System.Single>>::Add(!0)Dictionary.Enumerator<System.String, CandideServer.Data.DataModels.ServerWeatherData>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<System.ValueTuple<System.String, System.Single>>::get_Count()System.Collections.Generic.List<System.ValueTuple<System.String, System.Single>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.String, System.Single>>::get_Current()List.Enumerator<System.ValueTuple<System.String, System.Single>>::MoveNext()System.String::op_Equality(System.String, System.String)CandideServer.Database.ServerWeatherDataBase::TryGetWeatherData(System.String, CandideServer.Data.DataModels.ServerWeatherData&)CandideCreator.Shared.Helpers.RandomHelper::NextVector2(System.Random)CandideServer.ServerManagers.WeatherServerManager::SpawnWeather(System.String, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single, Microsoft.Xna.Framework.Vector2, System.Guid, System.Boolean, System.Single)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Player.ServerPlayerCharacter>::MoveNext()