C# Class ExBuddy.Navigation.FlightEnabledNavigator

Inheritance: ExBuddy.Logging.LogColors, INavigationProvider, IDisposable
Datei anzeigen Open project: MGramolini/ExBuddy

Public Methods

Method Description
CanFullyNavigateTo ( IEnumerable targets ) : List
CanFullyNavigateToAsync ( IEnumerable targets ) : Task>
CanFullyNavigateToAsync ( IEnumerable targets, System.Vector3 start, ushort zoneid ) : Task>
CanNavigateFully ( System.Vector3 @from, System.Vector3 to, float strictDistance ) : bool
Clear ( ) : bool
Dispose ( ) : void
FlightEnabledNavigator ( INavigationProvider innerNavigator ) : System
FlightEnabledNavigator ( INavigationProvider innerNavigator, IFlightEnabledPlayerMover playerMover, IFlightNavigationArgs flightNavigationArgs ) : System
Lerp ( System.Vector3 value1, System.Vector3 value2, float amount ) : System.Vector3
MoveTo ( System.Vector3 location, string destination = null ) : MoveResult
MoveToRandomSpotWithin ( System.Vector3 location, float radius, string destination = null ) : MoveResult
SampleParabola ( System.Vector3 start, System.Vector3 end, float height, float t ) : System.Vector3
StraightPath ( System.Vector3 from, System.Vector3 to, float amount ) : System.Vector3

Private Methods

Method Description
GeneratePath ( System.Vector3 start, System.Vector3 end ) : Task
HandlePathGenerationResult ( Task task ) : void
MoveToNextHop ( string name ) : MoveResult
MoveToNoFlight ( System.Vector3 location ) : Task
ShouldGeneratePath ( System.Vector3 target, float radius = 0.0f ) : bool

Method Details

CanFullyNavigateTo() public method

public CanFullyNavigateTo ( IEnumerable targets ) : List
targets IEnumerable
return List

CanFullyNavigateToAsync() public method

public CanFullyNavigateToAsync ( IEnumerable targets ) : Task>
targets IEnumerable
return Task>

CanFullyNavigateToAsync() public method

public CanFullyNavigateToAsync ( IEnumerable targets, System.Vector3 start, ushort zoneid ) : Task>
targets IEnumerable
start System.Vector3
zoneid ushort
return Task>

CanNavigateFully() public method

public CanNavigateFully ( System.Vector3 @from, System.Vector3 to, float strictDistance ) : bool
@from System.Vector3
to System.Vector3
strictDistance float
return bool

Clear() public method

public Clear ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

FlightEnabledNavigator() public method

public FlightEnabledNavigator ( INavigationProvider innerNavigator ) : System
innerNavigator INavigationProvider
return System

FlightEnabledNavigator() public method

public FlightEnabledNavigator ( INavigationProvider innerNavigator, IFlightEnabledPlayerMover playerMover, IFlightNavigationArgs flightNavigationArgs ) : System
innerNavigator INavigationProvider
playerMover IFlightEnabledPlayerMover
flightNavigationArgs IFlightNavigationArgs
return System

Lerp() public static method

public static Lerp ( System.Vector3 value1, System.Vector3 value2, float amount ) : System.Vector3
value1 System.Vector3
value2 System.Vector3
amount float
return System.Vector3

MoveTo() public method

public MoveTo ( System.Vector3 location, string destination = null ) : MoveResult
location System.Vector3
destination string
return MoveResult

MoveToRandomSpotWithin() public method

public MoveToRandomSpotWithin ( System.Vector3 location, float radius, string destination = null ) : MoveResult
location System.Vector3
radius float
destination string
return MoveResult

SampleParabola() public static method

public static SampleParabola ( System.Vector3 start, System.Vector3 end, float height, float t ) : System.Vector3
start System.Vector3
end System.Vector3
height float
t float
return System.Vector3

StraightPath() public static method

public static StraightPath ( System.Vector3 from, System.Vector3 to, float amount ) : System.Vector3
from System.Vector3
to System.Vector3
amount float
return System.Vector3