Game.Pathfind.PathfindActionState
Assembly: Assembly-CSharp
Namespace: Game.Pathfind
Type: public enum
Base: System.Enum (underlying type: System.Int32)
Summary:
Represents the lifecycle state of a pathfinding action. Used to indicate whether a pathfinding task is still pending or has completed.
Fields
-
Pending
Indicates the pathfinding action has been scheduled or is in progress and has not yet finished. -
Completed
Indicates the pathfinding action has finished (successfully, failed, or otherwise completed its processing).
Properties
- This enum type defines no properties.
Constructors
- Enums do not expose explicit constructors to user code. The default underlying value constructor exists implicitly (backed by System.Enum/System.ValueType) and is not typically used directly.
Methods
- This enum type defines no methods.
Usage Example
// Track current state of a pathfinding action
Game.Pathfind.PathfindActionState state = Game.Pathfind.PathfindActionState.Pending;
// Later, when the action completes:
state = Game.Pathfind.PathfindActionState.Completed;
// Example check
if (state == Game.Pathfind.PathfindActionState.Pending)
{
// wait or skip processing until completion
}
else if (state == Game.Pathfind.PathfindActionState.Completed)
{
// handle completed result
}