Candide.GameModels.Systems.EntityNetworkSystem
Type JSONpublic class in Candide.GameModels.Systems
Type metadata
- Assembly
Romestead - Namespace
Candide.GameModels.Systems - Base type
System.Object - Hash
EB9C0A53D988767E73FED92C2803A1ACFF450E9847807E7924848BE0C554AAAE
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
CheckChunksTime# | public | public System.Single CheckChunksTime |
CheckChunksTimer# | public | public System.Single CheckChunksTimer |
CleanupTime# | public | public System.Single CleanupTime |
CleanupTimer# | public | public System.Single CleanupTimer |
EntityInfoTime# | public | public System.Single EntityInfoTime |
EntityInfoTimer# | public | public System.Single EntityInfoTimer |
MissingEntitiesCheckTime# | public | public System.Single MissingEntitiesCheckTime |
MissingEntitiesCheckTimer# | public | public System.Single MissingEntitiesCheckTimer |
MissingEntitiesIds# | private | private System.Collections.Generic.HashSet<System.Guid> MissingEntitiesIds |
ReuseIdLookup# | private | private System.Collections.Generic.HashSet<System.Guid> ReuseIdLookup |
Methods
CleanUp
#
public System.Void CleanUp()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
8A1A08CF516850268C29350C64837701DDFFBDA271EC08614018E428058A808B - Body hash
B9145DD8B0445F8062E1DA1DDC94573015EBB2F5B5BED4D7502FB0F1D5CF7759 - IL size11
Referenced calls
System.Collections.Generic.HashSet<System.Guid>::Clear()
GetEntitiesInfo
#
private CandideServer.MessageModels.Entities.EntitiesInfoMessage GetEntitiesInfo()
Method metadata
- Visibilityprivate
- Return type
CandideServer.MessageModels.Entities.EntitiesInfoMessage - StaticTrue
- VirtualFalse
- Hash
06973985A80B4770D5DCB6E969C183A900967AC6B939BB211F1978C258F39CB0 - Body hash
B64808E87F916358B28E4A73CE120F7E01006707696CA0B799B2F832BF26B42F - IL size384
Referenced calls
System.Collections.Generic.List<CandideServer.MessageModels.Entities.EntityInfoMessage>::.ctor()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::GetEnumerator()Dictionary.Enumerator<System.Guid, Shared.Entity.EntityWrapper>::get_Current()System.Collections.Generic.KeyValuePair<System.Guid, Shared.Entity.EntityWrapper>::Deconstruct(!0&, !1&)Shared.Entity.EntityWrapper::get_Immovable()System.Collections.Generic.Dictionary<System.Int32, Candide.Multiplayer.Models.ClientPlayerCharacter>::get_Values()Dictionary.ValueCollection<System.Int32, Candide.Multiplayer.Models.ClientPlayerCharacter>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Int32, Candide.Multiplayer.Models.ClientPlayerCharacter>::get_Current()System.Guid::op_Equality(System.Guid, System.Guid)Dictionary.ValueCollection.Enumerator<System.Int32, Candide.Multiplayer.Models.ClientPlayerCharacter>::MoveNext()System.IDisposable::Dispose()CandideServer.MessageModels.Entities.EntityInfoMessage::.ctor()Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Direction()Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_TargetOfAggro()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)Shared.Entity.EntityWrapper::get_Controller()System.Nullable<System.Int32>::.ctor(!0)Shared.Entity.EntityWrapper::get_CarriedId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Collections.Generic.List<CandideServer.MessageModels.Entities.EntityInfoMessage>::Add(!0)Dictionary.Enumerator<System.Guid, Shared.Entity.EntityWrapper>::MoveNext()CandideServer.MessageModels.Entities.EntitiesInfoMessage::.ctor()System.Collections.Generic.List<CandideServer.MessageModels.Entities.EntityInfoMessage>::ToArray()
OnGetEntitiesResponse
#
private System.Void OnGetEntitiesResponse(CandideServer.MessageModels.Entities.GetEntitiesResponse missingEntitiesMessage)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
250A67611101873939B0B3477DC01E593A2A2EAEA81B9BF4EF5A62038D02C040 - Body hash
2A5AF7B963A90C12E7E2881216FC6CFDE31484233283F7F03344618E490239DA - IL size74
Referenced calls
System.Guid::op_Inequality(System.Guid, System.Guid)System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::ContainsKey(!0)Candide.GameModels.Controllers.EntityController::SpawnEntity(CandideServer.Entities.ServerEntityModel)
RequestMissingEntities
#
public System.Void RequestMissingEntities(System.Collections.Generic.IReadOnlyCollection<System.Guid> missingEntities)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1F59DAF4CB125775E54BCE002C1BE8A4F741651BEC5D66BD6E5C2774A2E70017 - Body hash
4FE645A436590E80B81723CE2C9955FB8DFA64A0CED2F5F3F7F623BC6BF88A71 - IL size20
Referenced calls
Candide.World.WorldHandler::IsWorldLoaded()System.Collections.Generic.HashSet<System.Guid>::UnionWith(System.Collections.Generic.IEnumerable<!0>)
Update
#
public System.Void Update(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
396C5FC37F34A71D224AF9900CE8BC36EDA14DF7A1B90E80763F6BE03805ABA8 - Body hash
6B468825AAE18CC8C4D8DFA039334750538FD981917576BA03FB97E61F1034BC - IL size27
Referenced calls
UpdateCheckChunks
#
private System.Void UpdateCheckChunks(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
94DD24B7F7A2D0C3DF01D813A2FF5EF8193DB2F253034282E6D63D6F10CF3861 - Body hash
8304B9E545108053095FC278B368E09E49E3B21470BE86F0515493EBD4A79A77 - IL size226
Referenced calls
EntityNetworkSystem.<>c__DisplayClass14_0::.ctor()System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::.ctor()System.Collections.Generic.HashSet<Candide.World.WorldChunk>::GetEnumerator()HashSet.Enumerator<Candide.World.WorldChunk>::get_Current()System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::Add(!0)HashSet.Enumerator<Candide.World.WorldChunk>::MoveNext()System.IDisposable::Dispose()CandideServer.MessageModels.Chunks.GetChunkEntitiesRequest::.ctor()System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::ToArray()EntityNetworkSystem.<>c__DisplayClass14_0::<UpdateCheckChunks>b__0(CandideServer.MessageModels.Chunks.GetChunkEntitiesResponse)System.Action<CandideServer.MessageModels.Chunks.GetChunkEntitiesResponse>::.ctor(System.Object, System.IntPtr)Candide.Multiplayer.Network.NetworkManager::Get(System.String, System.Object, System.Action<T>, System.Single, System.Action<System.Byte>, System.Boolean)
String literals
get-chunk-entities
UpdateCleanup
#
private System.Void UpdateCleanup(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
D967A2B6FF257A10B0DC516537D9D0267954695B258CA5EA0D63AD12CEFD08BA - Body hash
8FCC5C07013F5DA3FF91AEA43D4AB66E3C929F5B37A0BFD9AD331240FEF65A9B - IL size192
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::get_Values()Dictionary.ValueCollection<System.Guid, Shared.Entity.EntityWrapper>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Entity.EntityWrapper>::get_Current()Candide.Multiplayer.PlayerHelper::IsLocalPlayer(Shared.Entity.EntityWrapper)Candide.Multiplayer.PlayerHelper::IsOtherPlayer(Shared.Entity.EntityWrapper)Candide.World.ChunkedWorld::WorldPositionToChunk(Microsoft.Xna.Framework.Vector2)Candide.GameModels.Controllers.EntityController::ForgetEntity(Shared.Entity.EntityWrapper, Shared.Entity.EntityRemoveInfo, System.Boolean)Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()
UpdateEntityInfo
#
private System.Void UpdateEntityInfo(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
79EB93DE6E8F33BB3B593810DA81B22E2B9CC40E752DB107089437B9DB5C0EA7 - Body hash
7424FD60B93A268D371CA603BF58292CF7A832BF370496FF4C3854EA5BD07BC1 - IL size51
UpdateGetMissingEntities
#
private System.Void UpdateGetMissingEntities(System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
39CA13A55DC6FB69F4B385E751976062A60AFAFAA62E83CF2F329D852D547ECE - Body hash
917F8FCA62EFD2D11E0CE65783E039B55D758002F55D1D0495CCC479207FF8CD - IL size164
Referenced calls
Candide.World.WorldHandler::IsWorldLoaded()System.Collections.Generic.HashSet<System.Guid>::get_Count()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::ContainsKey(!0)System.Predicate<System.Guid>::.ctor(System.Object, System.IntPtr)System.Collections.Generic.HashSet<System.Guid>::RemoveWhere(System.Predicate<!0>)CandideServer.MessageModels.Entities.GetEntitiesRequest::.ctor()System.Linq.Enumerable::ToArray(System.Collections.Generic.IEnumerable<!!0>)Candide.GameModels.Systems.EntityNetworkSystem::OnGetEntitiesResponse(CandideServer.MessageModels.Entities.GetEntitiesResponse)System.Action<CandideServer.MessageModels.Entities.GetEntitiesResponse>::.ctor(System.Object, System.IntPtr)Candide.Multiplayer.Network.NetworkManager::Get(System.String, System.Object, System.Action<T>, System.Single, System.Action<System.Byte>, System.Boolean)
String literals
get-entities