Romestead Assembly Reference

CandideServer.PathFinding.ThreadRoadPathFinder

Type JSON changed

public class in CandideServer.PathFinding

Methods9
Properties0
Fields14
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.PathFinding
  • Base typeSystem.Object
  • Hash19F8190E08C338A29652B92E7CECDE740112C0515464AB289EB7B0FA192A64AE

Relationships

Base type

System.Object

Removed in latest patch

These members existed in the baseline snapshot and were removed in Latest Steam live vs manifest 4886639939922115546.

Methods

NameVisibilitySignature
IsPointOkremovedprivateprivate System.Boolean IsPointOk(Microsoft.Xna.Framework.Vector2 point, CandideServer.PathFinding.PathFindCollisionData data, System.Boolean ignoreEntities, CandideServer.PathFinding.PathFindArgs args, CandideServer.Models.Worlds.WorldModel world)

Fields

NameVisibilitySignature
_endPosprivateprivate Microsoft.Xna.Framework.Vector2 _endPos
_getChunksReuseListprivateprivate System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk> _getChunksReuseList
_ignoreEntityIdsprivateprivate System.Collections.Generic.HashSet<System.Guid> _ignoreEntityIds
_initializedStaticsprivateprivate System.Boolean _initializedStatics
_isInsideprivateprivate System.Boolean _isInside
_maximumPositionprivateprivate Microsoft.Xna.Framework.Vector2 _maximumPosition
_minimumPositionprivateprivate Microsoft.Xna.Framework.Vector2 _minimumPosition
_multiCollisionEnumeratorprivateprivate Shared.Collision.MultiCollisionEnumerator _multiCollisionEnumerator
_pathNodeConnectionsprivateprivate System.Collections.Generic.List<PathNode> _pathNodeConnections
_queryRectBoxprivateprivate Shared.Collision.QueryRectBox _queryRectBox
_searchQueueprivateprivate System.Collections.Generic.PriorityQueue<CandideServer.PathFinding.PathFindNode2, System.Single> _searchQueue
_temporaryPathStorageprivateprivate System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> _temporaryPathStorage
_tileSizeprivateprivate Microsoft.Xna.Framework.Point _tileSize
_visitedprivateprivate System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Vector2, CandideServer.PathFinding.PathFindNode2> _visited

Methods

BuildPath

private System.Void BuildPath(Microsoft.Xna.Framework.Vector2 startPos, System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> pathOut, CandideServer.PathFinding.PathFindNode2 node, System.Boolean addPathToEndPos, System.Boolean preferRoads)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB5B9904885FFF53A06D6DEA5ED50084020110A3E96D239DA06B2383C38BBE8F3
  • Body hash8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55
  • IL size1

CanVisitTile

private System.Boolean CanVisitTile(WorldTile.StructureType type)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash7FBBF9006A60734B0878373232D8E430F53C910A8EC844E25835A61477E6FDEC
  • Body hash0F2301D48ECE2398431AFA0740D5CF3DC0A0C657F5238737CE972B064CAAACBF
  • IL size22
Referenced calls
Called by

CheckBounds

private System.Boolean CheckBounds(Microsoft.Xna.Framework.Vector2 position)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash82A60832E6457363D0896A1CBC9E995ACFB70DDCB8D4AF3701536881A717BB9F
  • Body hash12C875A6A82FEE151161CD72C34DB04CC79DE1077C8187F91B64BCB4CAEC5DBE
  • IL size78
Called by

Distance

private System.Single Distance(Microsoft.Xna.Framework.Vector2 point, Microsoft.Xna.Framework.Vector2 other)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • HashD5080BEF77917DBEA39635344EC7E1A05BA0406B015F4718B3BCA7144F77B8AB
  • Body hash102C853B35AED3CF986BBE8E847D95CD982ED53B86F39A116910E9CABAA92178
  • IL size38
Referenced calls
  • System.Math::Abs(System.Single)

FindPath

changed

public System.Boolean FindPath(CandideServer.PathFinding.PathFindArgs args, CandideServer.PathFinding.PathFindTaskInfo[] activeTasks, CandideServer.PathFinding.PathFindTaskInfo startInfo, System.Threading.CancellationToken ct)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashBD43F5CE8105EF2FBF5EC7958C96A8A72DD2AE3C8608B7E36ED933B012054587
  • Body hash8E43DB0E26D25CC59A6C8C2EB6EA5B3D5B58DF6CA985AE0D0A20363560933C4F
  • IL size3476
Referenced calls
Called by
String literals
  • Tried to pathfind inside a building exterior.
  • Pathfind failed because of no start position
  • Pathfind failed because of no end position
  • Pathfinding broke

Heuristic

private System.Single Heuristic(Microsoft.Xna.Framework.Vector2 point)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Single
  • StaticTrue
  • VirtualFalse
  • HashFCFCE0311C37A6596779A939608BF554760321D8E039EFDE7E68B31E7428BC31
  • Body hash37888817E6E0946C0CD2C4CD6E58A5F659B84CD01CB9EE4222D52B24C1A23996
  • IL size12
Referenced calls
  • Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
Called by

Initialize

private System.Void Initialize()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash9C15BD04A2D2E1155F5166EF737779909155760CCF40AFA15CD99DC429CF526F
  • Body hash9CD2773343235917BE50EA1FBB610D8343C4681C9082E983CBF97D79C5602E1D
  • IL size95
Referenced calls
  • System.Collections.Generic.PriorityQueue<CandideServer.PathFinding.PathFindNode2, System.Single>::.ctor()
  • System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Vector2, CandideServer.PathFinding.PathFindNode2>::.ctor()
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::.ctor()
  • System.Collections.Generic.List<PathNode>::.ctor()
  • System.Collections.Generic.List<CandideServer.Models.ServerWorldChunk>::.ctor()
  • Shared.Collision.QueryRectBox::.ctor()
  • Shared.Collision.MultiCollisionEnumerator::.ctor()
  • System.Collections.Generic.HashSet<System.Guid>::.ctor()
Called by

IsPointOk

added

private System.Boolean IsPointOk(Microsoft.Xna.Framework.Vector2 point, CandideServer.PathFinding.PathFindCollisionData data, System.Boolean ignoreEntities, CandideServer.PathFinding.PathFindArgs args, CandideServer.Models.Worlds.WorldModel world, System.Single stepSize)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash7D1D7011A7990070DC9A47021C7EC26AC046D11FD0402E9766B6B28B929B4EC8
  • Body hashC9C7C8910146DC1576C6804CBDB2163134DA69DA9A0F4968CA67D87258AC04C2
  • IL size729
Referenced calls
Called by

WorldToTilePosition

private Microsoft.Xna.Framework.Point WorldToTilePosition(Microsoft.Xna.Framework.Vector2 worldPosition)

Method metadata
  • Visibilityprivate
  • Return typeMicrosoft.Xna.Framework.Point
  • StaticTrue
  • VirtualFalse
  • HashDF3332F97E423F182B888DC5011A7E56D08FC64874B880748DA47BD2BB4DD39E
  • Body hashE4D5862B9BEF7778C70B9B7DC92798006052C2E8450D8F0CFC9A912F4C3408F9
  • IL size35
Referenced calls
  • Microsoft.Xna.Framework.Vector2::Clamp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::ToPoint()
  • Microsoft.Xna.Framework.Point::op_Division(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)
Called by