C# Class MinecraftLibrary.Packet

Mostrar archivo Open project: ags131/SharpMinecraftLibrary Class Usage Examples

Protected Properties

Property Type Description
str Stream

Public Methods

Method Description
Read ( ) : void
ReadByteArray ( int len ) : byte[]
Write ( ) : void
read ( Stream str ) : void
write ( Stream str ) : void

Protected Methods

Method Description
ReadBool ( ) : bool
ReadByte ( ) : byte
ReadDouble ( ) : double
ReadFloat ( ) : float
ReadInt ( ) : int
ReadLong ( ) : long
ReadMetaData ( ) : void
ReadSByte ( ) : SByte
ReadSTUB ( int len ) : byte[]
ReadShort ( ) : short
ReadSlotData ( ) : void
ReadString ( ) : string
WriteBool ( bool data ) : void
WriteByte ( byte data ) : void
WriteByteArray ( byte data, int len ) : void
WriteDouble ( double data ) : void
WriteFloat ( float data ) : void
WriteInt ( int data ) : void
WriteLong ( long data ) : void
WriteSByte ( SByte data ) : void
WriteShort ( short data ) : void
WriteString ( string data ) : void
readBool ( Stream str ) : bool
readByte ( Stream str ) : byte
readDouble ( Stream str ) : double
readFloat ( Stream str ) : float
readInt ( Stream str ) : int
readLong ( Stream str ) : long
readSByte ( Stream str ) : sbyte
readShort ( Stream str ) : short
readString ( Stream str ) : string
reverse ( byte data ) : byte[]
writeBool ( Stream str, bool data ) : void
writeDouble ( Stream str, double data ) : void
writeFloat ( Stream str, float data ) : void
writeInt ( Stream str, int data ) : void
writeLong ( Stream str, long data ) : void
writeShort ( Stream str, short data ) : void
writeString ( Stream str, string data ) : void

Method Details

Read() public abstract method

public abstract Read ( ) : void
return void

ReadBool() protected method

protected ReadBool ( ) : bool
return bool

ReadByte() protected method

protected ReadByte ( ) : byte
return byte

ReadByteArray() public method

public ReadByteArray ( int len ) : byte[]
len int
return byte[]

ReadDouble() protected method

protected ReadDouble ( ) : double
return double

ReadFloat() protected method

protected ReadFloat ( ) : float
return float

ReadInt() protected method

protected ReadInt ( ) : int
return int

ReadLong() protected method

protected ReadLong ( ) : long
return long

ReadMetaData() protected method

protected ReadMetaData ( ) : void
return void

ReadSByte() protected method

protected ReadSByte ( ) : SByte
return SByte

ReadSTUB() protected method

protected ReadSTUB ( int len ) : byte[]
len int
return byte[]

ReadShort() protected method

protected ReadShort ( ) : short
return short

ReadSlotData() protected method

protected ReadSlotData ( ) : void
return void

ReadString() protected method

protected ReadString ( ) : string
return string

Write() public abstract method

public abstract Write ( ) : void
return void

WriteBool() protected method

protected WriteBool ( bool data ) : void
data bool
return void

WriteByte() protected method

protected WriteByte ( byte data ) : void
data byte
return void

WriteByteArray() protected method

protected WriteByteArray ( byte data, int len ) : void
data byte
len int
return void

WriteDouble() protected method

protected WriteDouble ( double data ) : void
data double
return void

WriteFloat() protected method

protected WriteFloat ( float data ) : void
data float
return void

WriteInt() protected method

protected WriteInt ( int data ) : void
data int
return void

WriteLong() protected method

protected WriteLong ( long data ) : void
data long
return void

WriteSByte() protected method

protected WriteSByte ( SByte data ) : void
data SByte
return void

WriteShort() protected method

protected WriteShort ( short data ) : void
data short
return void

WriteString() protected method

protected WriteString ( string data ) : void
data string
return void

read() public abstract method

public abstract read ( Stream str ) : void
str Stream
return void

readBool() protected method

protected readBool ( Stream str ) : bool
str Stream
return bool

readByte() protected method

protected readByte ( Stream str ) : byte
str Stream
return byte

readDouble() protected method

protected readDouble ( Stream str ) : double
str Stream
return double

readFloat() protected method

protected readFloat ( Stream str ) : float
str Stream
return float

readInt() protected method

protected readInt ( Stream str ) : int
str Stream
return int

readLong() protected method

protected readLong ( Stream str ) : long
str Stream
return long

readSByte() protected method

protected readSByte ( Stream str ) : sbyte
str Stream
return sbyte

readShort() protected method

protected readShort ( Stream str ) : short
str Stream
return short

readString() protected method

protected readString ( Stream str ) : string
str Stream
return string

reverse() protected method

protected reverse ( byte data ) : byte[]
data byte
return byte[]

write() public abstract method

public abstract write ( Stream str ) : void
str Stream
return void

writeBool() protected method

protected writeBool ( Stream str, bool data ) : void
str Stream
data bool
return void

writeDouble() protected method

protected writeDouble ( Stream str, double data ) : void
str Stream
data double
return void

writeFloat() protected method

protected writeFloat ( Stream str, float data ) : void
str Stream
data float
return void

writeInt() protected method

protected writeInt ( Stream str, int data ) : void
str Stream
data int
return void

writeLong() protected method

protected writeLong ( Stream str, long data ) : void
str Stream
data long
return void

writeShort() protected method

protected writeShort ( Stream str, short data ) : void
str Stream
data short
return void

writeString() protected method

protected writeString ( Stream str, string data ) : void
str Stream
data string
return void

Property Details

str protected_oe property

protected Stream str
return Stream