Elin Decompiled Documentation EA 23.102 Nightly
|
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, MoveType moveType=MoveType.Default, int searchLimit=-1, int destDist=0) |
Point | GetFirstStep (Point origin, Point _dest, IPathfindWalker walker, int maxDist=20, MoveType moveType=MoveType.Default) |
Point | _GetFirstStep (Point origin, Point dest, IPathfindWalker walker, int maxDist=20, MoveType moveType=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] |
Private Member Functions | |
void | Awake () |
Definition at line 6 of file PathManager.cs.
enum PathManager.MoveType |
Enumerator | |
---|---|
Default | |
Combat |
Definition at line 8 of file PathManager.cs.
|
inline |
Definition at line 78 of file PathManager.cs.
References Algorithms.WeightCell.blocked, Point.cell, Point.Distance(), PathProgress.HasPath, Point.Invalid, Point.IsValid, PathProgress.nodes, PathProgress.RequestPathImmediate(), tempProgress, Algorithms.PathFinderNode.X, Point.x, Algorithms.PathFinderNode.Z, and Point.z.
Referenced by GetFirstStep().
|
inlineprivate |
|
inline |
Definition at line 67 of file PathManager.cs.
References _GetFirstStep(), Point.Copy(), Point.Invalid, and Point.IsValid.
Referenced by Chara.GetFirstStep().
|
inline |
Definition at line 47 of file PathManager.cs.
References PathProgress.nodes, PathProgress.RequestPathImmediate(), and tempProgress.
Referenced by Zone.AddGlobalCharasOnActivate().
|
inline |
Definition at line 113 of file PathManager.cs.
|
inline |
Definition at line 31 of file PathManager.cs.
References requestCount, and PathThread.Start().
Referenced by PathProgress.RequestPath().
|
inline |
Definition at line 41 of file PathManager.cs.
References IPathfinder.FindPath(), pathfinder, and requestCount.
Referenced by Spatial.Dist(), Zone_Dungeon.PlaceRail(), AM_Adv.PressedActionMove(), PathProgress.RequestPathImmediate(), Chara.TryMoveTowards(), and GameUpdater.Update().
|
inline |
Definition at line 59 of file PathManager.cs.
References PathProgress.RequestPathImmediate(), searchLimit, and tempProgress.
PathFinder PathManager._pathfinder |
Definition at line 20 of file PathManager.cs.
Referenced by WidgetDebug.UpdateText().
|
static |
Definition at line 16 of file PathManager.cs.
Referenced by Zone.AddGlobalCharasOnActivate(), Awake(), Spatial.Dist(), Chara.GetFirstStep(), Zone_Dungeon.PlaceRail(), AM_Adv.PressedActionMove(), PathProgress.RequestPath(), PathProgress.RequestPathImmediate(), Map.SetReference(), PathThread.Start(), Chara.TryMoveTowards(), GameUpdater.Update(), and WidgetDebug.UpdateText().
|
static |
Definition at line 14 of file PathManager.cs.
Referenced by RequestPath(), RequestPathImmediate(), and WidgetDebug.UpdateText().
int PathManager.searchLimit = 1000000 |
Definition at line 22 of file PathManager.cs.
Referenced by PathProgress.RequestPath(), PathProgress.RequestPathImmediate(), and RequestPathImmediate().
|
static |
Definition at line 18 of file PathManager.cs.
Referenced by _GetFirstStep(), IsPathClear(), and RequestPathImmediate().
|
get |
Definition at line 24 of file PathManager.cs.
Referenced by RequestPathImmediate(), Map.SetReference(), PathThread.Start(), and WidgetDebug.UpdateText().