C# Class MCLawl.PlayerBot

Afficher le fichier Open project: dekema2/MCDek Class Usage Examples

Méthodes publiques

Свойство Type Description
AIName string
Waypoints List
botTimer System.Timers.Timer
color string
countdown int
currentPoint int
hunt bool
id byte
jumpTimer System.Timers.Timer
kill bool
level Level
moveTimer System.Timers.Timer
movementSpeed int
name string
nodUp bool
playerbots List
pos ushort[]
rot byte[]

Méthodes publiques

Méthode Description
Find ( string name ) : PlayerBot
GlobalDie ( ) : void
GlobalSpawn ( ) : void
GlobalUpdate ( ) : void
GlobalUpdatePosition ( ) : void
PlayerBot ( string n, Level l ) : System
PlayerBot ( string n, Level l, ushort x, ushort y, ushort z, byte rotx, byte roty ) : System
SetPos ( ushort x, ushort y, ushort z, byte rotx, byte roty ) : void
Update ( ) : void
ValidName ( string name ) : bool
removeBot ( ) : void

Private Methods

Méthode Description
FreeId ( ) : byte
HTNO ( short x ) : byte[]
HTNO ( ushort x ) : byte[]
NTHO ( byte x, int offset ) : ushort
UpdatePosition ( ) : void

Method Details

Find() public static méthode

public static Find ( string name ) : PlayerBot
name string
Résultat PlayerBot

GlobalDie() public méthode

public GlobalDie ( ) : void
Résultat void

GlobalSpawn() public méthode

public GlobalSpawn ( ) : void
Résultat void

GlobalUpdate() public static méthode

public static GlobalUpdate ( ) : void
Résultat void

GlobalUpdatePosition() public static méthode

public static GlobalUpdatePosition ( ) : void
Résultat void

PlayerBot() public méthode

public PlayerBot ( string n, Level l ) : System
n string
l Level
Résultat System

PlayerBot() public méthode

public PlayerBot ( string n, Level l, ushort x, ushort y, ushort z, byte rotx, byte roty ) : System
n string
l Level
x ushort
y ushort
z ushort
rotx byte
roty byte
Résultat System

SetPos() public méthode

public SetPos ( ushort x, ushort y, ushort z, byte rotx, byte roty ) : void
x ushort
y ushort
z ushort
rotx byte
roty byte
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

ValidName() public static méthode

public static ValidName ( string name ) : bool
name string
Résultat bool

removeBot() public méthode

public removeBot ( ) : void
Résultat void

Property Details

AIName public_oe property

public string AIName
Résultat string

Waypoints public_oe property

public List Waypoints
Résultat List

botTimer public_oe property

public System.Timers.Timer botTimer
Résultat System.Timers.Timer

color public_oe property

public string color
Résultat string

countdown public_oe property

public int countdown
Résultat int

currentPoint public_oe property

public int currentPoint
Résultat int

hunt public_oe property

public bool hunt
Résultat bool

id public_oe property

public byte id
Résultat byte

jumpTimer public_oe property

public System.Timers.Timer jumpTimer
Résultat System.Timers.Timer

kill public_oe property

public bool kill
Résultat bool

level public_oe property

public Level,MCLawl level
Résultat Level

moveTimer public_oe property

public System.Timers.Timer moveTimer
Résultat System.Timers.Timer

movementSpeed public_oe property

public int movementSpeed
Résultat int

name public_oe property

public string name
Résultat string

nodUp public_oe property

public bool nodUp
Résultat bool

playerbots public_oe static_oe property

public static List playerbots
Résultat List

pos public_oe property

public ushort[] pos
Résultat ushort[]

rot public_oe property

public byte[] rot
Résultat byte[]