C# Class C_Minebot.functions

Afficher le fichier Open project: umby24/Minebot Class Usage Examples

Méthodes publiques

Méthode Description
deleteEnt ( int EID, Form1 mainform ) : void
getEntbyID ( int EID, Form1 mainform ) : Entity
getItemCount ( int slot, Form1 mainform ) : int
getitembyslot ( int slot, Form1 mainform ) : string
isNumeric ( string test ) : bool
moveTo ( int x, int y, int z, Form1 Mainform ) : void
otherSlot ( Wrapped socket, Form1 Mainform, int EID, int slot ) : void
readMetadata ( Wrapped socket ) : void
readSlot ( Wrapped socket, bool inventory = false, Form1 Mainform = null, short slot = 500 ) : void
returnSlot ( Wrapped socket ) : Classes.Item
strip_codes ( string text ) : string
writeSlot ( System.Item item, Wrapped socket ) : void

Method Details

deleteEnt() public méthode

public deleteEnt ( int EID, Form1 mainform ) : void
EID int
mainform Form1
Résultat void

getEntbyID() public méthode

public getEntbyID ( int EID, Form1 mainform ) : Entity
EID int
mainform Form1
Résultat Entity

getItemCount() public méthode

public getItemCount ( int slot, Form1 mainform ) : int
slot int
mainform Form1
Résultat int

getitembyslot() public méthode

public getitembyslot ( int slot, Form1 mainform ) : string
slot int
mainform Form1
Résultat string

isNumeric() public méthode

public isNumeric ( string test ) : bool
test string
Résultat bool

moveTo() public méthode

public moveTo ( int x, int y, int z, Form1 Mainform ) : void
x int
y int
z int
Mainform Form1
Résultat void

otherSlot() public méthode

public otherSlot ( Wrapped socket, Form1 Mainform, int EID, int slot ) : void
socket Wrapped
Mainform Form1
EID int
slot int
Résultat void

readMetadata() public méthode

public readMetadata ( Wrapped socket ) : void
socket Wrapped
Résultat void

readSlot() public méthode

public readSlot ( Wrapped socket, bool inventory = false, Form1 Mainform = null, short slot = 500 ) : void
socket Wrapped
inventory bool
Mainform Form1
slot short
Résultat void

returnSlot() public méthode

public returnSlot ( Wrapped socket ) : Classes.Item
socket Wrapped
Résultat Classes.Item

strip_codes() public méthode

public strip_codes ( string text ) : string
text string
Résultat string

writeSlot() public méthode

public writeSlot ( System.Item item, Wrapped socket ) : void
item System.Item
socket Wrapped
Résultat void