CandideServer.PathFinding.PathNodeHandler
Type JSONpublic class in CandideServer.PathFinding
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.PathFinding - Base type
System.Object - Hash
39DB2B4EF48BEC67E3062558AE059C23ED358D8BAE6B25D00A0EB0DD3D9886C5
Relationships
Base type
System.Object
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
Connections# | public | public System.Collections.ObjectModel.ObservableCollection<PathNodeConnection> Connections |
PathNodes# | public | public System.Collections.ObjectModel.ObservableCollection<PathNode> PathNodes |
PointToPathNode# | public | public System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, PathNode> PointToPathNode |
_checkoutNode# | private | private PathNode _checkoutNode |
_doorNode# | private | private PathNode _doorNode |
_patrolPoints# | private | private System.Collections.Generic.Dictionary<System.Int32, PathNode> _patrolPoints |
_shopNodes# | private | private System.Collections.Generic.List<PathNode> _shopNodes |
_spawnNode# | private | private PathNode _spawnNode |
Properties
| Name | Visibility | Signature |
|---|---|---|
Checkout# | public | public PathNode Checkout |
Door# | public | public PathNode Door |
PatrolPoints# | public | public System.Collections.Generic.Dictionary<System.Int32, PathNode> PatrolPoints |
ShopNodes# | public | public System.Collections.Generic.List<PathNode> ShopNodes |
Spawn# | public | public PathNode Spawn |
Methods
DebugDrawNodes
#
public System.Void DebugDrawNodes(System.Boolean isOutside, CandideServer.Models.Buildings.BuildingInstanceModel building, System.Boolean drawConnections, System.Single drawDuration)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
309C1C363E4C245F8774D7CA2366D5DDA127613B37CF25638B1C0568A134F48C - Body hash
FCAE6246C641B3157018BA0F54A59D96208F570F7DE03F1A18C8F11C58E2FE15 - IL size256
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Rectangle::get_Location()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)System.Collections.ObjectModel.Collection<PathNode>::GetEnumerator()System.Collections.Generic.IEnumerator<PathNode>::get_Current()CandideCreator.Shared.Helpers.VectorExtension::ToVector2Xz(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_Black()CandideCreator.Shared.Graphics.VisualDebug::CircleOutline(Microsoft.Xna.Framework.Vector2, System.Single, System.Single, Microsoft.Xna.Framework.Color, System.Single)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()System.Collections.ObjectModel.Collection<PathNodeConnection>::GetEnumerator()System.Collections.Generic.IEnumerator<PathNodeConnection>::get_Current()PathNodeConnection::get_Node1Id()CandideServer.PathFinding.PathNodeHandler::TryGetPathNode(System.Guid)PathNodeConnection::get_Node2Id()Microsoft.Xna.Framework.Color::get_DarkBlue()CandideCreator.Shared.Graphics.VisualDebug::Line(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, System.Single)
Called by
GetConnections
#
public System.Void GetConnections(PathNode node, System.Collections.Generic.List<PathNode> outList)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
712BD6BA83A5AA8616CC299A39C2A14FE84FDC29B5C89CEEC37200E2FA69E87A - Body hash
960CEF47DA15CFCCB9BFC626E421C9940116D309619CA1108C5A8B3264E81F0F - IL size139
Referenced calls
System.Collections.Generic.List<PathNode>::Clear()System.Collections.ObjectModel.Collection<PathNodeConnection>::GetEnumerator()System.Collections.Generic.IEnumerator<PathNodeConnection>::get_Current()PathNodeConnection::get_Node1Id()System.Guid::op_Equality(System.Guid, System.Guid)PathNodeConnection::get_Node2Id()CandideServer.PathFinding.PathNodeHandler::TryGetPathNode(System.Guid)System.Collections.Generic.List<PathNode>::Add(!0)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
TryGetPathNode
#
private PathNode TryGetPathNode(System.Guid id)
Method metadata
- Visibilityprivate
- Return type
PathNode - StaticFalse
- VirtualFalse
- Hash
0AE508FED8FC66813F7C6AD23505328D32383B9F82B5F76C6F541A76D92CC174 - Body hash
366A50887CF265A57787B4D376E12ACDF2055BDA3CD1C0F57883416647D70316 - IL size63
Referenced calls
System.Collections.ObjectModel.Collection<PathNode>::GetEnumerator()System.Collections.Generic.IEnumerator<PathNode>::get_Current()System.Guid::op_Equality(System.Guid, System.Guid)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
TryGetPathNode
#
public System.Boolean TryGetPathNode(Microsoft.Xna.Framework.Point point, out PathNode& pathNode)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
DB2592C84A198C89BB4929B659AB83F2A720D344C24D717E965451EF38735E39 - Body hash
3C068CFC9B4C7858482D505D70F6D7C9BD73AF4BA3FFEFB50874232330AB4DAA - IL size14
Referenced calls
System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, PathNode>::TryGetValue(!0, !1&)