Candide.GameModels.Managers.TimeSystem
Type JSONpublic class in Candide.GameModels.Managers
Type metadata
- Assembly
Romestead - Namespace
Candide.GameModels.Managers - Base type
System.Object - Hash
1106E4E63EA554BE425EE6EB19AA57CDCA335FCE006E86E65739F1256A16DA25
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
Debug# | public | public System.Boolean Debug |
EveningEnd# | public | public System.Single EveningEnd |
EveningStart# | public | public System.Single EveningStart |
MorningEnd# | public | public System.Single MorningEnd |
MorningStart# | public | public System.Single MorningStart |
Properties
| Name | Visibility | Signature |
|---|---|---|
Day# | public | public System.Int32 Day |
Hour# | public | public System.Single Hour |
IsNight# | public | public System.Boolean IsNight |
Methods
DrawColorTest
#
public System.Void DrawColorTest()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
66D6184A131212551530645BCDD3638D52DD43B9661B57510C40D5787BCE5DEA - Body hash
832C98D91EFF44CAD7B83B4B1E6AED684179C78786F800F3E87BD1DD78565B90 - IL size467
Referenced calls
Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::AngleToVector(System.Single)Candide.GameModels.Systems.AmbienceSystem::GetAmbientColor(System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToColor(Microsoft.Xna.Framework.Vector3&, System.Single)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)CandideCreator.Shared.Graphics.VisualDebug::Circle(Microsoft.Xna.Framework.Vector2, System.Single, Microsoft.Xna.Framework.Color, System.Single)CandideCreator.Shared.Graphics.VisualDebug::Line(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, System.Single)System.DateTime::get_TimeOfDay()System.TimeSpan::get_TotalHours()Microsoft.Xna.Framework.Color::get_White()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)Candide.GameModels.Managers.TimeSystem::get_Hour()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0, System.String)Candide.GameModels.Managers.TimeSystem::get_Day()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)Candide.GameModels.Managers.TimeSystem::get_IsNight()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Microsoft.Xna.Framework.Vector2::.ctor(System.Single)Candide.Graphics.VisualDebug.VisualDebugText::Draw(Microsoft.Xna.Framework.Vector2, System.String, Microsoft.Xna.Framework.Color, FontStashSharp.StaticSpriteFont, Microsoft.Xna.Framework.Vector2, System.Single)
String literals
Hour:F, Day:, Night:
HandleNewDay
#
public System.Void HandleNewDay()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
4A6A1FD2A96BA865BFFF7654689C884ED56583FFC87572ECD9236DC1F3B2E409 - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
SetHour
#
public System.Void SetHour(System.Double hour)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E0CB6B09F7B1382C7FB57313CD6E58996D2656855275CA837C19CEC97EB46F89 - Body hash
48D6E229D4CC08EE4A6F4B0B373905A21BE7741902A39052A3CD0F7627B64451 - IL size50
Referenced calls
System.DateTime::get_Date()System.TimeSpan::FromHours(System.Double)System.DateTime::op_Addition(System.DateTime, System.TimeSpan)
SkipDay
#
public System.Void SkipDay()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
CF9DB18B59E8B8FB436149A71C5174C125F032337BD9E70FFB09AF720B99FB43 - Body hash
1BBFBE04C09D4836C78A1C344724B2A549520B8B4810BDF687408E30A52CC652 - IL size38
Referenced calls
System.DateTime::get_Date()System.DateTime::AddDays(System.Double)Candide.GameModels.Managers.TimeSystem::HandleNewDay()
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
841FBE83EE5785900CB0EB6798C45702DBAB169AAA559492B05A8B77A1D62560 - Body hash
0A3A12C5815FDF5923A5106D0C5E2D51867BCBE312B42ABC8293A5577AAD560D - IL size98
Referenced calls
System.DateTime::get_Day()Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::op_Multiply(System.TimeSpan, System.Double)System.DateTime::op_Addition(System.DateTime, System.TimeSpan)Candide.GameModels.Managers.TimeSystem::HandleNewDay()Candide.Input.InputManager::Down(Microsoft.Xna.Framework.Input.Keys)Candide.GameModels.Managers.TimeSystem::DrawColorTest()
UpdateTimeBasedLight
#
public System.Void UpdateTimeBasedLight(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
AE2883758EC59EA3C5BB839966CD90A3B3216FDAE51EBB9146DB73A727FF8004 - Body hash
B538C50900ED3FB204DDFB4352F94D7C07637EF4E684C123B55B01A3A185E68C - IL size113
Referenced calls
CandideCreator.Shared.Models.World::get_LightingProperties()CandideCreator.Shared.Models.LightingProperties::get_TimeBasedLights()Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::SetFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Candide.GameModels.Systems.AmbienceSystem::GetTimeBasedLightCurve()Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_LightSourceColor()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::set_LightSourceColor(Microsoft.Xna.Framework.Vector3)
Called by
Candide.Entities.Controllers.Legacy.AnimatedController::UpdateCandide.Entities.Controllers.Other.BasicFurnaceController::UpdateCandide.Entities.Controllers.Other.Buildings.BuildingNightLightController::UpdateCandide.Entities.Controllers.Other.CampfireController::UpdateCandide.Entities.Controllers.Other.CauldronController::BeforeRenderCandide.Entities.Controllers.Other.CinematicBuildingFireController::UpdateCandide.Entities.Controllers.Other.CoalTrapController::UpdateCandide.Entities.Controllers.Other.SulphurVentController::SetLightPropertiesCandide.Entities.Controllers.Other.UnifiedLightSourceController::BeforeRenderCandide.Entities.Controllers.PotController.ExplosivePotController::BeforeRenderCandide.Entities.Controllers.PotController.IncendiaryPotController::BeforeRenderCandide.Entities.Controllers.PotController.LightningPotController::BeforeRenderCandide.Entities.Controllers.PotController.PoisonPotController::BeforeRenderCandide.Entities.Controllers.WraithController.WraithController::BeforeRenderCandide.Entities.PlayerState.PlayerAnimationController::BeforeRender