C# Class BolterLibrary.Navigation

Inheritance: NativeDx
Afficher le fichier Open project: usagiuke/BolterV2

Méthodes publiques

Свойство Type Description
AICorrection bool
CamReset bool
CorDelay bool
HaltFlag bool
HeadToll int
Moving bool
RecordFlag bool
TurnFilter bool
_Waypoints Waypoints

Méthodes publiques

Méthode Description
Distance ( float y1, float x1, float y2, float x2 ) : float
Navigation ( ) : System
Play ( string pathName, Pathing pType, bool forward = true, int index, dynamic log = null ) : void
Record ( int interval, string pathName, dynamic log = null ) : void

Starts recording waypoints on a new thread.

Reload ( ) : void
StopRecord ( ) : void

Stops an active recording session, and saves the results to xml.

Walk ( float x, float y, bool KeepWalking ) : void

Méthodes protégées

Méthode Description
DegreesToPosH ( double Degrees ) : float
Distance ( D3DXVECTOR2 p1, D3DXVECTOR2 p2 ) : float
HeadingToRad ( D3DXVECTOR2 from, D3DXVECTOR2 to ) : float
MathMod ( int a, int b ) : int
ModelRotation ( D3DXVECTOR2 pointB ) : void

Rotates the character's model, to face the given destination point.

PosHToDegrees ( float PosH ) : double

Private Methods

Méthode Description
GetClosestIndex ( List PList, D3DXVECTOR2 curPos ) : int
PlayPath ( string pathName, Pathing pType, bool forawrd, int index, dynamic log = null ) : void
RebuildList ( IEnumerable pList, bool forward, Pathing pType, int index ) : IEnumerable
RecordWaypoint ( int interval, string pathName, dynamic logBox = null ) : void

Method Details

DegreesToPosH() protected méthode

protected DegreesToPosH ( double Degrees ) : float
Degrees double
Résultat float

Distance() protected méthode

protected Distance ( D3DXVECTOR2 p1, D3DXVECTOR2 p2 ) : float
p1 D3DXVECTOR2
p2 D3DXVECTOR2
Résultat float

Distance() public static méthode

public static Distance ( float y1, float x1, float y2, float x2 ) : float
y1 float
x1 float
y2 float
x2 float
Résultat float

HeadingToRad() protected méthode

protected HeadingToRad ( D3DXVECTOR2 from, D3DXVECTOR2 to ) : float
from D3DXVECTOR2
to D3DXVECTOR2
Résultat float

MathMod() protected méthode

protected MathMod ( int a, int b ) : int
a int
b int
Résultat int

ModelRotation() protected méthode

Rotates the character's model, to face the given destination point.
protected ModelRotation ( D3DXVECTOR2 pointB ) : void
pointB D3DXVECTOR2 The destination point
Résultat void

Navigation() public méthode

public Navigation ( ) : System
Résultat System

Play() public méthode

public Play ( string pathName, Pathing pType, bool forward = true, int index, dynamic log = null ) : void
pathName string
pType Pathing
forward bool
index int
log dynamic
Résultat void

PosHToDegrees() protected méthode

protected PosHToDegrees ( float PosH ) : double
PosH float
Résultat double

Record() public méthode

Starts recording waypoints on a new thread.
public Record ( int interval, string pathName, dynamic log = null ) : void
interval int Time in ms, between waypoints
pathName string Name of the path to save the waypoints to. A new on will be created, if it does not exist
log dynamic
Résultat void

Reload() public méthode

public Reload ( ) : void
Résultat void

StopRecord() public méthode

Stops an active recording session, and saves the results to xml.
public StopRecord ( ) : void
Résultat void

Walk() public méthode

public Walk ( float x, float y, bool KeepWalking ) : void
x float
y float
KeepWalking bool
Résultat void

Property Details

AICorrection public_oe static_oe property

public static bool AICorrection
Résultat bool

CamReset public_oe static_oe property

public static bool CamReset
Résultat bool

CorDelay public_oe static_oe property

public static bool CorDelay
Résultat bool

HaltFlag public_oe static_oe property

public static bool HaltFlag
Résultat bool

HeadToll public_oe static_oe property

public static int HeadToll
Résultat int

Moving public_oe static_oe property

public static bool Moving
Résultat bool

RecordFlag public_oe static_oe property

Flag that stops and starts recording
public static bool RecordFlag
Résultat bool

TurnFilter public_oe static_oe property

public static bool TurnFilter
Résultat bool

_Waypoints public_oe static_oe property

Container for our waypoints.xml
public static Waypoints _Waypoints
Résultat Waypoints