Romestead Assembly Reference

CandideServer.PathFinding.PathFindSystem

Type JSON

public class in CandideServer.PathFinding

Methods11
Properties1
Fields9
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.PathFinding
  • Base typeSystem.Object
  • HashF264CEBAB55954DE9E7C3E6BF5FCEC2E1D412D77FE760DA174038AA7053E59B7

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
ActiveTaskspublicpublic CandideServer.PathFinding.PathFindTaskInfo[] ActiveTasks
CollisionDataprivateprivate System.Collections.Generic.Dictionary<System.Guid, CandideServer.PathFinding.PathFindCollisionData> CollisionData
ListPoolprivateprivate System.Collections.Generic.Stack<System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>> ListPool
Queuepublicpublic System.Collections.Generic.Queue<CandideServer.PathFinding.PathFindArgs> Queue
Resultspublicpublic System.Collections.Generic.Dictionary<System.Int32, CandideServer.PathFinding.PathFindResult> Results
_cancellationTokenSourceprivateprivate System.Threading.CancellationTokenSource _cancellationTokenSource
_nextIdprivateprivate System.Int32 _nextId
_taskFactoryprivateprivate System.Threading.Tasks.TaskFactory _taskFactory
_timerprivateprivate CandideCreator.Shared.Tools.Timer _timer

Properties

NameVisibilitySignature
Timepublicpublic System.Double Time

Methods

AfterServerStop

public System.Void AfterServerStop()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3F71E846D5572FD93FA6A540D72C2526D9C3D2AB70D6A2B79877A10CD6B0EE3B
  • Body hashD9297D45C6224176EABD386C43E8A5FC6CACEF44629F41A96F420A293784669F
  • 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()
Called by

CheckForPathFindResult

public CandideServer.PathFinding.PathFindStatus CheckForPathFindResult(System.Int32 taskId, System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> outList)

Method metadata
  • Visibilitypublic
  • Return typeCandideServer.PathFinding.PathFindStatus
  • StaticTrue
  • VirtualFalse
  • HashD3B500BBDC0FECD94BE3CD69F95CFADC8C5BC2CBB3F9A89F58F005755CE4CC92
  • Body hashF6DBE3A41537D5C5E0ADD1E03E7447AF1B5BF653037FCF589518CF2937BDF858
  • IL size129
Referenced calls
Called by

GetDataForWorld

private CandideServer.PathFinding.PathFindCollisionData GetDataForWorld(CandideServer.Models.Worlds.WorldModel world, System.Double time)

Method metadata
  • Visibilityprivate
  • Return typeCandideServer.PathFinding.PathFindCollisionData
  • StaticTrue
  • VirtualFalse
  • Hash9FA196FF1D4D5C4B8828AFD41D1F6FDEC1F8B57E3CA6BF101E7232F1D923BBD2
  • Body hashF51FD581C9DF8EAB1664665A9A3307F06D0423E8F7781AE8AD37E2F7643F76D8
  • 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)
Called by

GetList

private System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> GetList()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>
  • StaticTrue
  • VirtualFalse
  • Hash577806A2C3AABC91D373C2E5B0C8FF258E8019F127369D05DD78A923BC53FB51
  • Body hashD73F3F468685DCFB63D0C244C3B792B14C2C0094CEEB3DD59148EE5FE6D6BA19
  • 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()
Called by

HandleResult

private System.Void HandleResult(CandideServer.PathFinding.PathFindTaskInfo task)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash04FE92B56401D2B1CF6C5142C2AB4C72F96AB80484CD8783386DFCD82440B7D9
  • Body hashBEB6CC9B4A1C17D73E4682562C3AC2401FDF02E30BF9370CC772F7FDB9C26797
  • IL size134
Referenced calls
Called by

OnServerStart

public System.Void OnServerStart()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashA6FBB12E015D55629F6B7F97B2F58F49CAA06F4A2B19E0D87BD1E3BBE4B2D70D
  • Body hashC8A15D8E87F81539D9E1B4B46C04650A9301201D80F6219D4CF8672DAD6548C6
  • IL size116
Referenced calls
Called by

PathFindTask

private System.Void PathFindTask(System.Object state)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash9385C240CF871F95546B69350661F7B0FABC22520EEDD0A02B74821006795AD7
  • Body hash95834338602667E29F4BBAA2A97271DCE4E3E1CD5605E017C83451B7EA3D6A30
  • IL size77
Referenced calls
Called by

QueuePathFindTask

public System.Int32 QueuePathFindTask(CandideServer.PathFinding.PathFindArgs args)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticTrue
  • VirtualFalse
  • Hash458B2479443CDD58092FF4F5A71C9C3E90FAB5D4233250E75547700E8D97F38B
  • Body hashEE7AFA66D1D1BB58B6CD27810ABA2BDA7E55A1CD330CD0298498E21D64FE98AD
  • IL size48
Referenced calls
  • System.Collections.Generic.Queue<CandideServer.PathFinding.PathFindArgs>::Enqueue(!0)
Called by

ReturnList

private System.Void ReturnList(System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> list)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash92B646CA23A4C1F82636991AAE5F4B598C8E8936A21876AC6653B88733F43408
  • Body hash8527DA21B5B56A5D133B030A3270179CCA2EBDDAE46D5E354E28D0D3DD18B849
  • 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)
Called by

Update

public System.Void Update(System.Single dt)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1451E1FF21E4338D715F45ED2480C794683CE58289D4A829D87871C016E3E3A2
  • Body hash56694D88BA2029AA11F7CE5ECDF24878A8CE46F5C705AD4C73CFF4C2377BA395
  • IL size676
Referenced calls
Called by

UpdateDataForWorld

private System.Void UpdateDataForWorld(CandideServer.Models.Worlds.WorldModel world, System.Double time)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE0D0AE7DFB158E71D40D6714415F2F9DBAFFAC771027F9928A5B48D26A88BECE
  • Body hashFBDE6F9E20BC87EAB141A65F87FEF0E0E9AB6710A36EE0D7CBB8A3FA71D46DE4
  • IL size148
Referenced calls
Called by