CandideServer.ServerControllers.ServerWeatherController
Type JSONpublic class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
53F7DA3595E4393FA97D7A9B37F435ADE3E21E9BED0175B0BC81BAD8D15567A7
Relationships
Base type
System.Object
Methods
MoveWeather
#
public System.Boolean MoveWeather(System.Guid weatherInstanceId, Microsoft.Xna.Framework.Vector2 position)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
BCF26C98B16DA25FBBA417E668931DAED61CC1B933DFE312940E555CF40DC271 - Body hash
3534958B46548A55DC534B49EB1CEA9BEB330FA4C7EEFAD1073140D918F6A7CF - IL size26
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::TryGetValue(!0, !1&)
OnServerGameStateLoaded
#
private System.Void OnServerGameStateLoaded(CandideServer.GameDescription gameDescription)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0DB792EE36590E554832861C51D8F96BFA7ACE767AB5B682B7F761AD711242A7 - Body hash
A255421FBAF4786E22B75EAF1832AB6671719A1B3F4B62D4AC1ED8C2FA40F0B6 - IL size161
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.Database.ServerWeatherDataBase::TryGetWeatherData(System.String, CandideServer.Data.DataModels.ServerWeatherData&)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::Remove(!0)System.Func<CandideServer.Data.DataModels.IServerWeatherController>::Invoke()CandideServer.Data.DataModels.IServerWeatherController::Initialize(Shared.Models.Weather.WeatherInstanceModel)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Data.DataModels.IServerWeatherController>::set_Item(!0, !1)Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerSystems.Weather.ServerWeatherSystem::OnWeathersLoaded()
String literals
Tried to load weather with data id '' but data could not be found
RemoveWeather
#
public System.Boolean RemoveWeather(System.Guid weatherInstanceId)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
C93AE1807B7EA33C30D33AC36BF1B649B18D36B5FDCC4BE3063C2E65C46BCAAC - Body hash
B11CC1699690889D8A4ABD393DE43D58CDBA7690317A6B9FD1C21F7F75017AFF - IL size24
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::Remove(!0)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Data.DataModels.IServerWeatherController>::Remove(!0)
SpawnWeather
#
public Shared.Models.Weather.WeatherInstanceModel SpawnWeather(System.String weatherDataId, Microsoft.Xna.Framework.Vector2 position, System.Single radius1, System.Single radius2, Microsoft.Xna.Framework.Vector2 velocity, System.Single duration, System.Guid instanceId, System.Boolean doNotAutoRemove)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Weather.WeatherInstanceModel - StaticTrue
- VirtualFalse
- Hash
CCC45777D97AFF2377AAA54C12A10E2C0E8A0F14BC99B8E0AAE856B97E1AD55C - Body hash
790A2596B1829FEFBD55779193B08766DF07805D64215EAD8CBDC8A34C526C7D - IL size246
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::ContainsKey(!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.Database.ServerWeatherDataBase::TryGetWeatherData(System.String, CandideServer.Data.DataModels.ServerWeatherData&)System.String::Concat(System.String, System.String, System.String)Shared.Models.Weather.WeatherInstanceModel::.ctor()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::set_Item(!0, !1)System.Func<CandideServer.Data.DataModels.IServerWeatherController>::Invoke()CandideServer.Data.DataModels.IServerWeatherController::Initialize(Shared.Models.Weather.WeatherInstanceModel)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Data.DataModels.IServerWeatherController>::set_Item(!0, !1)
String literals
Tried to spawn new weather with idbut the id already existedTried to spawn new weather with data id '' but data could not be found
TimeSkipped
#
public System.Void TimeSkipped(System.TimeSpan timeSkipped, System.Double realTimeRatio)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
C9CF2D2A62322853E81306003448B386DC1E7FE2347E03F8FEDBA4CF49E2DB2F - Body hash
20DB80890FE5939446CC1BF485E9EE2069912E8CAC37E1D891F1BBF8AF0AF616 - IL size191
Referenced calls
System.TimeSpan::op_Division(System.TimeSpan, System.Double)System.TimeSpan::get_TotalSeconds()System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::GetEnumerator()Dictionary.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::get_Current()System.Collections.Generic.KeyValuePair<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::Deconstruct(!0&, !1&)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)Dictionary.Enumerator<System.Guid, Shared.Models.Weather.WeatherInstanceModel>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerSystems.Weather.ServerWeatherSystem::OnTimeSkip()