Elin Modding Docs Doc
Loading...
Searching...
No Matches
PathManager Class Reference
Inheritance diagram for PathManager:

Public Types

enum  MoveType { Default , Combat }
 

Public Member Functions

void RequestPath (PathProgress progress)
 
void RequestPathImmediate (PathProgress progress)
 
bool IsPathClear (Point origin, Point dest, IPathfindWalker walker, int radius)
 
PathProgress RequestPathImmediate (Point origin, Point dest, IPathfindWalker walker, PathManager.MoveType moveType=PathManager.MoveType.Default, int searchLimit=-1, int destDist=0)
 
Point GetFirstStep (Point origin, Point _dest, IPathfindWalker walker, int maxDist=20, PathManager.MoveType moveType=PathManager.MoveType.Default)
 
Point _GetFirstStep (Point origin, Point dest, IPathfindWalker walker, int maxDist=20, PathManager.MoveType moveType=PathManager.MoveType.Default)
 
void OnGridModified ()
 

Public Attributes

PathFinder _pathfinder
 
int searchLimit = 1000000
 

Static Public Attributes

static int requestCount
 
static PathManager Instance
 
static PathProgress tempProgress = new PathProgress()
 

Properties

IPathfinder pathfinder [get]
 

Detailed Description

Definition at line 8 of file PathManager.cs.

Member Enumeration Documentation

◆ MoveType

enum PathManager.MoveType

Definition at line 131 of file PathManager.cs.

Member Function Documentation

◆ _GetFirstStep()

Point PathManager._GetFirstStep ( Point origin,
Point dest,
IPathfindWalker walker,
int maxDist = 20,
PathManager.MoveType moveType = PathManager::MoveType::Default )

Definition at line 75 of file PathManager.cs.

◆ GetFirstStep()

Point PathManager.GetFirstStep ( Point origin,
Point _dest,
IPathfindWalker walker,
int maxDist = 20,
PathManager.MoveType moveType = PathManager::MoveType::Default )

Definition at line 63 of file PathManager.cs.

◆ IsPathClear()

bool PathManager.IsPathClear ( Point origin,
Point dest,
IPathfindWalker walker,
int radius )

Definition at line 45 of file PathManager.cs.

◆ OnGridModified()

void PathManager.OnGridModified ( )

Definition at line 111 of file PathManager.cs.

◆ RequestPath()

void PathManager.RequestPath ( PathProgress progress)

Definition at line 27 of file PathManager.cs.

◆ RequestPathImmediate() [1/2]

void PathManager.RequestPathImmediate ( PathProgress progress)

Definition at line 38 of file PathManager.cs.

◆ RequestPathImmediate() [2/2]

PathProgress PathManager.RequestPathImmediate ( Point origin,
Point dest,
IPathfindWalker walker,
PathManager.MoveType moveType = PathManager::MoveType::Default,
int searchLimit = -1,
int destDist = 0 )

Definition at line 54 of file PathManager.cs.

Member Data Documentation

◆ _pathfinder

PathFinder PathManager._pathfinder

Definition at line 125 of file PathManager.cs.

◆ Instance

PathManager PathManager.Instance
static

Definition at line 119 of file PathManager.cs.

◆ requestCount

int PathManager.requestCount
static

Definition at line 116 of file PathManager.cs.

◆ searchLimit

int PathManager.searchLimit = 1000000

Definition at line 128 of file PathManager.cs.

◆ tempProgress

PathProgress PathManager.tempProgress = new PathProgress()
static

Definition at line 122 of file PathManager.cs.

Property Documentation

◆ pathfinder

IPathfinder PathManager.pathfinder
get

Definition at line 12 of file PathManager.cs.


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