Elin Modding Docs Doc
Loading...
Searching...
No Matches
PathProgress Class Reference

Public Types

enum  State { Idle , Searching , PathReady , Fail }
 

Public Member Functions

bool IsDestinationReached (Point pos)
 
void RequestPath (Point _startPoint, Point _destPoint, int _destDist, bool _ignoreConnection, int _searchLimit=-1)
 
void RequestPathImmediate (Point _startPoint, Point _destPoint, int _destDist, bool _ignoreConnection, int _searchLimit=-1)
 

Public Attributes

IPathfindWalker walker
 
List< PathFinderNodenodes = new List<PathFinderNode>()
 
Point startPoint = new Point()
 
Point destPoint = new Point()
 
int nodeIndex
 
PathProgress.State state
 
int destDist
 
int searchLimit
 
bool ignoreConnection
 
PathManager.MoveType moveType
 

Properties

bool HasPath [get]
 

Detailed Description

Definition at line 6 of file PathProgress.cs.

Member Enumeration Documentation

◆ State

enum PathProgress.State

Definition at line 91 of file PathProgress.cs.

Member Function Documentation

◆ IsDestinationReached()

bool PathProgress.IsDestinationReached ( Point pos)

Definition at line 19 of file PathProgress.cs.

◆ RequestPath()

void PathProgress.RequestPath ( Point _startPoint,
Point _destPoint,
int _destDist,
bool _ignoreConnection,
int _searchLimit = -1 )

Definition at line 25 of file PathProgress.cs.

◆ RequestPathImmediate()

void PathProgress.RequestPathImmediate ( Point _startPoint,
Point _destPoint,
int _destDist,
bool _ignoreConnection,
int _searchLimit = -1 )

Definition at line 43 of file PathProgress.cs.

Member Data Documentation

◆ destDist

int PathProgress.destDist

Definition at line 79 of file PathProgress.cs.

◆ destPoint

Point PathProgress.destPoint = new Point()

Definition at line 70 of file PathProgress.cs.

◆ ignoreConnection

bool PathProgress.ignoreConnection

Definition at line 85 of file PathProgress.cs.

◆ moveType

PathManager.MoveType PathProgress.moveType

Definition at line 88 of file PathProgress.cs.

◆ nodeIndex

int PathProgress.nodeIndex

Definition at line 73 of file PathProgress.cs.

◆ nodes

List<PathFinderNode> PathProgress.nodes = new List<PathFinderNode>()

Definition at line 64 of file PathProgress.cs.

◆ searchLimit

int PathProgress.searchLimit

Definition at line 82 of file PathProgress.cs.

◆ startPoint

Point PathProgress.startPoint = new Point()

Definition at line 67 of file PathProgress.cs.

◆ state

PathProgress.State PathProgress.state

Definition at line 76 of file PathProgress.cs.

◆ walker

IPathfindWalker PathProgress.walker

Definition at line 61 of file PathProgress.cs.

Property Documentation

◆ HasPath

bool PathProgress.HasPath
get

Definition at line 10 of file PathProgress.cs.


The documentation for this class was generated from the following file: