C# 클래스 MineViewer.PacketHandler

파일 보기 프로젝트 열기: dzamkov/MineViewer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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[]