C# 클래스 BolterLibrary.Navigation

상속: NativeDx
파일 보기 프로젝트 열기: usagiuke/BolterV2

공개 프로퍼티들

프로퍼티 타입 설명
AICorrection bool
CamReset bool
CorDelay bool
HaltFlag bool
HeadToll int
Moving bool
RecordFlag bool
TurnFilter bool
_Waypoints Waypoints

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

DegreesToPosH() 보호된 메소드

protected DegreesToPosH ( double Degrees ) : float
Degrees double
리턴 float

Distance() 보호된 메소드

protected Distance ( D3DXVECTOR2 p1, D3DXVECTOR2 p2 ) : float
p1 D3DXVECTOR2
p2 D3DXVECTOR2
리턴 float

Distance() 공개 정적인 메소드

public static Distance ( float y1, float x1, float y2, float x2 ) : float
y1 float
x1 float
y2 float
x2 float
리턴 float

HeadingToRad() 보호된 메소드

protected HeadingToRad ( D3DXVECTOR2 from, D3DXVECTOR2 to ) : float
from D3DXVECTOR2
to D3DXVECTOR2
리턴 float

MathMod() 보호된 메소드

protected MathMod ( int a, int b ) : int
a int
b int
리턴 int

ModelRotation() 보호된 메소드

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

Navigation() 공개 메소드

public Navigation ( ) : System
리턴 System

Play() 공개 메소드

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
리턴 void

PosHToDegrees() 보호된 메소드

protected PosHToDegrees ( float PosH ) : double
PosH float
리턴 double

Record() 공개 메소드

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
리턴 void

Reload() 공개 메소드

public Reload ( ) : void
리턴 void

StopRecord() 공개 메소드

Stops an active recording session, and saves the results to xml.
public StopRecord ( ) : void
리턴 void

Walk() 공개 메소드

public Walk ( float x, float y, bool KeepWalking ) : void
x float
y float
KeepWalking bool
리턴 void

프로퍼티 상세

AICorrection 공개적으로 정적으로 프로퍼티

public static bool AICorrection
리턴 bool

CamReset 공개적으로 정적으로 프로퍼티

public static bool CamReset
리턴 bool

CorDelay 공개적으로 정적으로 프로퍼티

public static bool CorDelay
리턴 bool

HaltFlag 공개적으로 정적으로 프로퍼티

public static bool HaltFlag
리턴 bool

HeadToll 공개적으로 정적으로 프로퍼티

public static int HeadToll
리턴 int

Moving 공개적으로 정적으로 프로퍼티

public static bool Moving
리턴 bool

RecordFlag 공개적으로 정적으로 프로퍼티

Flag that stops and starts recording
public static bool RecordFlag
리턴 bool

TurnFilter 공개적으로 정적으로 프로퍼티

public static bool TurnFilter
리턴 bool

_Waypoints 공개적으로 정적으로 프로퍼티

Container for our waypoints.xml
public static Waypoints _Waypoints
리턴 Waypoints