C# Class MineViewer.PacketHandler

Afficher le fichier Open project: dzamkov/MineViewer Class Usage Examples

Méthodes publiques

Свойство Type Description
Buffer byte[]

Méthodes publiques

Méthode Description
Flush ( ) : void

Send the shit down the toilet

PacketHandler ( BinaryWriter _Writer ) : System
SetOperationCode ( SMPInterface OpCode ) : void

Set the operation code (0x01 etc...)

Write ( bool Value ) : void

Write a bool to the buffer

Write ( byte Value ) : void

Write a byte to the buffer

Write ( double Value ) : void

Write a double to the buffer

Write ( float Value ) : void

Write a float to the buffer

Write ( int Value ) : void

Write an integer to the buffer

Write ( long Value ) : void

Write a long to the buffer

Write ( short Value ) : void

Write a short to the buffer

Write ( string Value ) : void

Write a string to the buffer

_Write ( byte Values ) : void

Private write to the buffer, suggested by c0bra

Method Details

Flush() public méthode

Send the shit down the toilet
public Flush ( ) : void
Résultat void

PacketHandler() public méthode

public PacketHandler ( BinaryWriter _Writer ) : System
_Writer System.IO.BinaryWriter
Résultat System

SetOperationCode() public méthode

Set the operation code (0x01 etc...)
public SetOperationCode ( SMPInterface OpCode ) : void
OpCode SMPInterface
Résultat void

Write() public méthode

Write a bool to the buffer
public Write ( bool Value ) : void
Value bool
Résultat void

Write() public méthode

Write a byte to the buffer
public Write ( byte Value ) : void
Value byte
Résultat void

Write() public méthode

Write a double to the buffer
public Write ( double Value ) : void
Value double
Résultat void

Write() public méthode

Write a float to the buffer
public Write ( float Value ) : void
Value float
Résultat void

Write() public méthode

Write an integer to the buffer
public Write ( int Value ) : void
Value int
Résultat void

Write() public méthode

Write a long to the buffer
public Write ( long Value ) : void
Value long
Résultat void

Write() public méthode

Write a short to the buffer
public Write ( short Value ) : void
Value short
Résultat void

Write() public méthode

Write a string to the buffer
public Write ( string Value ) : void
Value string
Résultat void

_Write() public méthode

Private write to the buffer, suggested by c0bra
public _Write ( byte Values ) : void
Values byte
Résultat void

Property Details

Buffer public_oe property

public byte[] Buffer
Résultat byte[]