Candide.GameModels.Systems.DeadReckoningSystem
Type JSONpublic class in Candide.GameModels.Systems
Type metadata
- Assembly
Romestead - Namespace
Candide.GameModels.Systems - Base type
System.Object - Hash
12FCCCB68E2527BDB1FA439345BB5B57547B6166DBC355EE52884115F3529446
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
ClientTime# | public | public System.TimeSpan ClientTime |
HistoryIndex# | public | public System.Int32 HistoryIndex |
HistorySize# | public | public System.Int32 HistorySize |
JitterAverage# | public | public System.TimeSpan JitterAverage |
JitterMedian# | public | public System.TimeSpan JitterMedian |
LatestServerTime# | public | public System.TimeSpan LatestServerTime |
TimeDiffHistory# | public | public System.TimeSpan[] TimeDiffHistory |
TimeDiffHistoryCalculationHelper# | public | public System.TimeSpan[] TimeDiffHistoryCalculationHelper |
TimeSwapTimer# | public | public System.Single TimeSwapTimer |
Values# | public | public System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Systems.EntityDeadReckoning> Values |
Methods
AddData
#
public System.Void AddData(System.Guid id, Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity, Microsoft.Xna.Framework.Vector3 acceleration, System.Single accelerationScale, Shared.Entity.EntityWrapper entity, System.TimeSpan timestamp)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0780E6506CFF8209FAEAACA6289A1C848FD8D8A638AE19625BCC2F6E6DA62EC8 - Body hash
141DE8C9024D2A991C83A5298EC396E7C27185B77EAAA3DC515CD350B3C98FE9 - IL size112
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Systems.EntityDeadReckoning>::TryGetValue(!0, !1&)Candide.GameModels.Systems.DeadReckoningSystem::Apply(Shared.Entity.EntityWrapper, Candide.GameModels.Systems.EntityDeadReckoning)Candide.GameModels.Systems.DeadReckoningSystem::Apply(Shared.Entity.EntityWrapper, Candide.GameModels.Systems.EntityDeadReckoning, Candide.GameModels.Systems.EntityDeadReckoning&)System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Systems.EntityDeadReckoning>::set_Item(!0, !1)
Apply
#
public System.Void Apply(Shared.Entity.EntityWrapper entity, Candide.GameModels.Systems.EntityDeadReckoning data)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
9AB47CDAA6EECED1CC89ECB3B1E6C5E07A1FC60390B1181E3738C3F3000B6386 - Body hash
B57F6283584D2C716F1D53F8BB32A767CF1104DE6351FA74703902466A2DF875 - IL size49
Referenced calls
Shared.Entity.EntityWrapper::set_Position(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_AccelerationScale(System.Single)
Apply
#
public System.Void Apply(Shared.Entity.EntityWrapper entity, Candide.GameModels.Systems.EntityDeadReckoning previousData, Candide.GameModels.Systems.EntityDeadReckoning& newData)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
7EBE1BAEFB1320878FE25528F8B04873F7456ACEDC40BCDB39E2D942462B39A3 - Body hash
8B4E8DB43989B06128F4FF518A8AB38F922A290D42E5FC08892E46CBD49F9BDB - IL size413
Referenced calls
System.TimeSpan::op_Subtraction(System.TimeSpan, System.TimeSpan)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Candide.GameModels.Systems.DeadReckoningSystem::Apply(Shared.Entity.EntityWrapper, Candide.GameModels.Systems.EntityDeadReckoning)Shared.Entity.EntitySystem::SinglePhysicsStep(System.Int32, System.Single)Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector2::Length()System.TimeSpan::op_Multiply(System.TimeSpan, System.Double)System.TimeSpan::op_LessThan(System.TimeSpan, System.TimeSpan)System.TimeSpan::op_Equality(System.TimeSpan, System.TimeSpan)System.TimeSpan::op_Division(System.TimeSpan, System.TimeSpan)
ClearEntityData
#
public System.Void ClearEntityData()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3C7BE06C5F4FA410D17D9EBFC1A4CF3A3ECFE58291158E26D208D709CD97D4F0 - Body hash
A61031836C46843E35041685BD5350B2F2D35418D0F82F8AC260BEF4DE918B0C - IL size11
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Systems.EntityDeadReckoning>::Clear()
ClearForNewConnection
#
public System.Void ClearForNewConnection()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
AF31D77D77A51F14F9B18BA9DA4AB5472583593CEB272CAD28EBD99321BC659D - Body hash
ABA26D23EC40F0FD2BBAFDF705FED2DA5FFAAEA7A2A8FF8499C99B1120980340 - IL size49
Referenced calls
System.Array::Clear(System.Array)
CreateImgui
#
public System.Void CreateImgui()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0B9A68F987C444F0759284F8B81B2F6F702A7EDE1A0F3634E659F952EEC94F29 - Body hash
5521A2BEAEE134C12AB7683591F08D20D6A6E31851B6133A712E9FAC5775C617 - IL size641
Referenced calls
System.String::op_Implicit(System.String)ImGuiNET.ImGui::Button(System.ReadOnlySpan<System.Char>)Candide.GameModels.Systems.DeadReckoningSystem::ClearForNewConnection()ImGuiNET.ImGui::SeparatorText(System.ReadOnlySpan<System.Char>)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()ImGuiNET.ImGui::Text(System.ReadOnlySpan<System.Char>)CandideCreator.Shared.Helpers.MathExtension::Mod(System.Int32, System.Int32)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::op_Division(System.TimeSpan, System.TimeSpan)System.Numerics.Vector2::.ctor(System.Single, System.Single)ImGuiNET.ImGui::PlotLines(System.ReadOnlySpan<System.Char>, System.Single&, System.Int32, System.Int32, System.ReadOnlySpan<System.Char>, System.Single, System.Single, System.Numerics.Vector2)
String literals
ResetDead ReckoningLatest Client Time:Latest Server Time:JitterMax:Average:Median:Min:HistorySorted
NewGroupOfData
#
public System.Void NewGroupOfData(System.TimeSpan serverTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
EC78155EFEBC1F0BE1C31919FE370B0D7C7D295C864521D87A054BD6E813F360 - Body hash
A4B7232C5660B614E1AF6168226919443FDC3F3FC8C2D391E114155FEFBB9A3E - IL size312
Referenced calls
System.TimeSpan::op_GreaterThanOrEqual(System.TimeSpan, System.TimeSpan)System.TimeSpan::op_Subtraction(System.TimeSpan, System.TimeSpan)System.TimeSpan::op_Addition(System.TimeSpan, System.TimeSpan)System.TimeSpan::op_Division(System.TimeSpan, System.Double)System.Array::Copy(System.Array, System.Array, System.Int32)System.Array::Sort(!!0[])System.TimeSpan::op_GreaterThan(System.TimeSpan, System.TimeSpan)System.TimeSpan::get_TotalSeconds()
PredictData
#
public System.Void PredictData(System.Guid id, Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity, Microsoft.Xna.Framework.Vector3 acceleration, System.Single accelerationScale, Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
32D027334394664F25C781911A607820EA90A21E978A46F328483030DF6EB2DA - Body hash
AE4407FB41066783375C57BB2EBF1DAA96E6389236699C5D424122E33EB26C6E - IL size88
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Systems.EntityDeadReckoning>::set_Item(!0, !1)
Remove
#
public System.Void Remove(System.Guid id)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
D667243DFBBCBD88ECAB0CB87712E6AA272282DBE74639E433B7A87FC40E0B1A - Body hash
F94E4EFE5B1930364F3581078F2E3843FE0F12435C9CFE3AB83543E0205324A5 - IL size13
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Systems.EntityDeadReckoning>::Remove(!0)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2D82F5AE33CD20E3D79E3EA8A10FCF4223ADE028D2F43CD99A0623014D050BCF - Body hash
41DB32A6CF1F3A0BB07D2AB737A2FCAA4E21A0EB46D3389B7C4919EE909D57A4 - IL size27
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::op_Addition(System.TimeSpan, System.TimeSpan)Candide.GameModels.Controllers.EntityController::UpdateEntityInfos()