C# Класс MineViewer.PacketHandler

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Buffer byte[]

Открытые методы

Метод Описание
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

Описание методов

Flush() публичный Метод

Send the shit down the toilet
public Flush ( ) : void
Результат void

PacketHandler() публичный Метод

public PacketHandler ( BinaryWriter _Writer ) : System
_Writer System.IO.BinaryWriter
Результат System

SetOperationCode() публичный Метод

Set the operation code (0x01 etc...)
public SetOperationCode ( SMPInterface OpCode ) : void
OpCode SMPInterface
Результат void

Write() публичный Метод

Write a bool to the buffer
public Write ( bool Value ) : void
Value bool
Результат void

Write() публичный Метод

Write a byte to the buffer
public Write ( byte Value ) : void
Value byte
Результат void

Write() публичный Метод

Write a double to the buffer
public Write ( double Value ) : void
Value double
Результат void

Write() публичный Метод

Write a float to the buffer
public Write ( float Value ) : void
Value float
Результат void

Write() публичный Метод

Write an integer to the buffer
public Write ( int Value ) : void
Value int
Результат void

Write() публичный Метод

Write a long to the buffer
public Write ( long Value ) : void
Value long
Результат void

Write() публичный Метод

Write a short to the buffer
public Write ( short Value ) : void
Value short
Результат void

Write() публичный Метод

Write a string to the buffer
public Write ( string Value ) : void
Value string
Результат void

_Write() публичный Метод

Private write to the buffer, suggested by c0bra
public _Write ( byte Values ) : void
Values byte
Результат void

Описание свойств

Buffer публичное свойство

public byte[] Buffer
Результат byte[]