C# Class MCLawl.PlayerBot

Mostrar archivo Open project: dekema2/MCDek Class Usage Examples

Public Properties

Property 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[]

Public Methods

Method 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

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

Method Details

Find() public static method

public static Find ( string name ) : PlayerBot
name string
return PlayerBot

GlobalDie() public method

public GlobalDie ( ) : void
return void

GlobalSpawn() public method

public GlobalSpawn ( ) : void
return void

GlobalUpdate() public static method

public static GlobalUpdate ( ) : void
return void

GlobalUpdatePosition() public static method

public static GlobalUpdatePosition ( ) : void
return void

PlayerBot() public method

public PlayerBot ( string n, Level l ) : System
n string
l Level
return System

PlayerBot() public method

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
return System

SetPos() public method

public SetPos ( ushort x, ushort y, ushort z, byte rotx, byte roty ) : void
x ushort
y ushort
z ushort
rotx byte
roty byte
return void

Update() public method

public Update ( ) : void
return void

ValidName() public static method

public static ValidName ( string name ) : bool
name string
return bool

removeBot() public method

public removeBot ( ) : void
return void

Property Details

AIName public_oe property

public string AIName
return string

Waypoints public_oe property

public List Waypoints
return List

botTimer public_oe property

public System.Timers.Timer botTimer
return System.Timers.Timer

color public_oe property

public string color
return string

countdown public_oe property

public int countdown
return int

currentPoint public_oe property

public int currentPoint
return int

hunt public_oe property

public bool hunt
return bool

id public_oe property

public byte id
return byte

jumpTimer public_oe property

public System.Timers.Timer jumpTimer
return System.Timers.Timer

kill public_oe property

public bool kill
return bool

level public_oe property

public Level,MCLawl level
return Level

moveTimer public_oe property

public System.Timers.Timer moveTimer
return System.Timers.Timer

movementSpeed public_oe property

public int movementSpeed
return int

name public_oe property

public string name
return string

nodUp public_oe property

public bool nodUp
return bool

playerbots public_oe static_oe property

public static List playerbots
return List

pos public_oe property

public ushort[] pos
return ushort[]

rot public_oe property

public byte[] rot
return byte[]