CandideServer.PathFinding.PathFindSystem
Type JSONpublic class in CandideServer.PathFinding
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.PathFinding - Base type
System.Object - Hash
F264CEBAB55954DE9E7C3E6BF5FCEC2E1D412D77FE760DA174038AA7053E59B7
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
ActiveTasks# | public | public CandideServer.PathFinding.PathFindTaskInfo[] ActiveTasks |
CollisionData# | private | private System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData> CollisionData |
ListPool# | private | private System.Collections.Generic.Stack<System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>> ListPool |
Queue# | public | public System.Collections.Generic.Queue<CandideServer.PathFinding.PathFindArgs> Queue |
Results# | public | public System.Collections.Generic.Dictionary<System.Int32, CandideServer.PathFinding.PathFindResult> Results |
_cancellationTokenSource# | private | private System.Threading.CancellationTokenSource _cancellationTokenSource |
_nextId# | private | private System.Int32 _nextId |
_taskFactory# | private | private System.Threading.Tasks.TaskFactory _taskFactory |
_timer# | private | private CandideCreator.Shared.Tools.Timer _timer |
Properties
| Name | Visibility | Signature |
|---|---|---|
Time# | public | public System.Double Time |
Methods
AfterServerStop
#
public System.Void AfterServerStop()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3F71E846D5572FD93FA6A540D72C2526D9C3D2AB70D6A2B79877A10CD6B0EE3B - Body hash
D9297D45C6224176EABD386C43E8A5FC6CACEF44629F41A96F420A293784669F - IL size130
Referenced calls
System.Collections.Generic.Queue<CandideServer.PathFinding.PathFindArgs>::Clear()System.Threading.CancellationTokenSource::Cancel()System.Threading.CancellationTokenSource::Dispose()System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::Clear()System.Collections.Generic.Dictionary<System.Int32, CandideServer.PathFinding.PathFindResult>::Clear()
CheckForPathFindResult
#
public CandideServer.PathFinding.PathFindStatus CheckForPathFindResult(System.Int32 taskId, System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> outList)
Method metadata
- Visibilitypublic
- Return type
CandideServer.PathFinding.PathFindStatus - StaticTrue
- VirtualFalse
- Hash
D3B500BBDC0FECD94BE3CD69F95CFADC8C5BC2CBB3F9A89F58F005755CE4CC92 - Body hash
F6DBE3A41537D5C5E0ADD1E03E7447AF1B5BF653037FCF589518CF2937BDF858 - IL size129
Referenced calls
System.Collections.Generic.Dictionary<System.Int32, CandideServer.PathFinding.PathFindResult>::Remove(!0, !1&)System.Collections.Generic.Queue<CandideServer.PathFinding.PathFindArgs>::get_Count()CandideServer.PathFinding.PathFindTaskInfo::get_IsActive()System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::AddRange(System.Collections.Generic.IEnumerable<!0>)CandideServer.PathFinding.PathFindSystem::ReturnList(System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>)
GetDataForWorld
#
private CandideServer.PathFinding.PathFindCollisionData GetDataForWorld(CandideServer.Models.Worlds.WorldModel world, System.Double time)
Method metadata
- Visibilityprivate
- Return type
CandideServer.PathFinding.PathFindCollisionData - StaticTrue
- VirtualFalse
- Hash
9FA196FF1D4D5C4B8828AFD41D1F6FDEC1F8B57E3CA6BF101E7232F1D923BBD2 - Body hash
F51FD581C9DF8EAB1664665A9A3307F06D0423E8F7781AE8AD37E2F7643F76D8 - IL size184
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, ServerEntitySystemManager.WorldEntitySystemPair>::TryGetValue(!0, !1&)Shared.Collision.CollisionSpecialGroup::GetReadonlyCopy()CandideServer.PathFinding.PathFindCollisionData::.ctor()CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Worlds.ServerExteriorWorldModel>::GetReadOnlyCopy()System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::set_Item(!0, !1)
GetList
#
private System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> GetList()
Method metadata
- Visibilityprivate
- Return type
System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> - StaticTrue
- VirtualFalse
- Hash
577806A2C3AABC91D373C2E5B0C8FF258E8019F127369D05DD78A923BC53FB51 - Body hash
D73F3F468685DCFB63D0C244C3B792B14C2C0094CEEB3DD59148EE5FE6D6BA19 - IL size22
Referenced calls
System.Collections.Generic.Stack<System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>>::TryPop(!0&)System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::.ctor()
HandleResult
#
private System.Void HandleResult(CandideServer.PathFinding.PathFindTaskInfo task)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
04FE92B56401D2B1CF6C5142C2AB4C72F96AB80484CD8783386DFCD82440B7D9 - Body hash
BEB6CC9B4A1C17D73E4682562C3AC2401FDF02E30BF9370CC772F7FDB9C26797 - IL size134
Referenced calls
System.Threading.Tasks.Task::get_IsCompletedSuccessfully()CandideServer.PathFinding.PathFindSystem::get_Time()System.Collections.Generic.Dictionary<System.Int32, CandideServer.PathFinding.PathFindResult>::set_Item(!0, !1)CandideServer.PathFinding.PathFindSystem::ReturnList(System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>)
OnServerStart
#
public System.Void OnServerStart()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
A6FBB12E015D55629F6B7F97B2F58F49CAA06F4A2B19E0D87BD1E3BBE4B2D70D - Body hash
C8A15D8E87F81539D9E1B4B46C04650A9301201D80F6219D4CF8672DAD6548C6 - IL size116
Referenced calls
CandideServer.PathFinding.PathFindSystem::ReturnList(System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>)System.Array::Clear(System.Array)System.Threading.CancellationTokenSource::.ctor()System.Threading.CancellationTokenSource::get_Token()System.Threading.Tasks.TaskScheduler::get_Default()System.Threading.Tasks.TaskFactory::.ctor(System.Threading.CancellationToken, System.Threading.Tasks.TaskCreationOptions, System.Threading.Tasks.TaskContinuationOptions, System.Threading.Tasks.TaskScheduler)CandideCreator.Shared.Tools.Timer::SetTimeToNextTick(System.Single)
Called by
PathFindTask
#
private System.Void PathFindTask(System.Object state)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
9385C240CF871F95546B69350661F7B0FABC22520EEDD0A02B74821006795AD7 - Body hash
95834338602667E29F4BBAA2A97271DCE4E3E1CD5605E017C83451B7EA3D6A30 - IL size77
Referenced calls
QueuePathFindTask
#
public System.Int32 QueuePathFindTask(CandideServer.PathFinding.PathFindArgs args)
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticTrue
- VirtualFalse
- Hash
458B2479443CDD58092FF4F5A71C9C3E90FAB5D4233250E75547700E8D97F38B - Body hash
EE7AFA66D1D1BB58B6CD27810ABA2BDA7E55A1CD330CD0298498E21D64FE98AD - IL size48
Referenced calls
System.Collections.Generic.Queue<CandideServer.PathFinding.PathFindArgs>::Enqueue(!0)
ReturnList
#
private System.Void ReturnList(System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> list)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
92B646CA23A4C1F82636991AAE5F4B598C8E8936A21876AC6653B88733F43408 - Body hash
8527DA21B5B56A5D133B030A3270179CCA2EBDDAE46D5E354E28D0D3DD18B849 - IL size18
Referenced calls
System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::Clear()System.Collections.Generic.Stack<System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>>::Push(!0)
Update
#
public System.Void Update(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1451E1FF21E4338D715F45ED2480C794683CE58289D4A829D87871C016E3E3A2 - Body hash
56694D88BA2029AA11F7CE5ECDF24878A8CE46F5C705AD4C73CFF4C2377BA395 - IL size676
Referenced calls
CandideCreator.Shared.Tools.Timer::Update(System.Single)CandideServer.PathFinding.PathFindSystem::get_Time()System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::GetEnumerator()Dictionary.Enumerator<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::get_Current()System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::Deconstruct(!0&, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::Remove(!0)CandideServer.PathFinding.PathFindSystem::UpdateDataForWorld(CandideServer.Models.Worlds.WorldModel, System.Double)Dictionary.Enumerator<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.Int32, CandideServer.PathFinding.PathFindResult>::GetEnumerator()Dictionary.Enumerator<System.Int32, CandideServer.PathFinding.PathFindResult>::get_Current()System.Collections.Generic.KeyValuePair<System.Int32, CandideServer.PathFinding.PathFindResult>::Deconstruct(!0&, !1&)System.Collections.Generic.Dictionary<System.Int32, CandideServer.PathFinding.PathFindResult>::Remove(!0)CandideServer.PathFinding.PathFindSystem::ReturnList(System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>)Dictionary.Enumerator<System.Int32, CandideServer.PathFinding.PathFindResult>::MoveNext()CandideServer.PathFinding.PathFindTaskInfo::get_IsActive()System.Threading.Tasks.Task::get_IsCompleted()CandideServer.PathFinding.PathFindSystem::HandleResult(CandideServer.PathFinding.PathFindTaskInfo)System.Collections.Generic.Queue<CandideServer.PathFinding.PathFindArgs>::TryDequeue(!0&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::TryGetValue(!0, !1&)CandideServer.PathFinding.PathFindSystem::GetDataForWorld(CandideServer.Models.Worlds.WorldModel, System.Double)CandideServer.PathFinding.PathFindSystem::GetList()System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::Clear()CandideServer.PathFinding.PathFindSystem::PathFindTask(System.Object)System.Action<System.Object>::.ctor(System.Object, System.IntPtr)System.Threading.Tasks.TaskFactory::StartNew(System.Action<System.Object>, System.Object)
Called by
UpdateDataForWorld
#
private System.Void UpdateDataForWorld(CandideServer.Models.Worlds.WorldModel world, System.Double time)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E0D0AE7DFB158E71D40D6714415F2F9DBAFFAC771027F9928A5B48D26A88BECE - Body hash
FBDE6F9E20BC87EAB141A65F87FEF0E0E9AB6710A36EE0D7CBB8A3FA71D46DE4 - IL size148
Referenced calls
System.Guid::op_Inequality(System.Guid, System.Guid)System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData>::Remove(!0)CandideServer.PathFinding.PathFindSystem::GetDataForWorld(CandideServer.Models.Worlds.WorldModel, System.Double)