C# Class Zepheus.FiestaLib.Networking.Packet

Inheritance: IDisposable
Datei anzeigen Open project: Zepheus/Zepheus_Fiesta Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Dump ( ) : string
Fill ( int pLength, byte pValue ) : void
Packet ( ) : System
Packet ( SH12Type type ) : System
Packet ( SH15Type type ) : System
Packet ( SH18Type type ) : System
Packet ( SH20Type type ) : System
Packet ( SH25Type type ) : System
Packet ( SH28Type type ) : System
Packet ( SH29Type type ) : System
Packet ( SH2Type type ) : System
Packet ( SH31Type type ) : System
Packet ( SH3Type type ) : System
Packet ( SH4Type type ) : System
Packet ( SH5Type type ) : System
Packet ( SH6Type type ) : System
Packet ( SH7Type type ) : System
Packet ( SH8Type type ) : System
Packet ( SH9Type type ) : System
Packet ( byte pData ) : System
Packet ( byte pHeader, byte pType ) : System
Packet ( ushort pOpCode ) : System
ReadBytes ( byte pBuffer ) : bool
ReadSkip ( int pLength ) : bool
Seek ( int offset ) : void
SetByte ( long pOffset, byte pValue ) : void
ToArray ( ) : byte[]
ToString ( ) : string
TryReadBool ( bool &pValue ) : bool
TryReadByte ( byte &pValue ) : bool
TryReadBytes ( int pLength, byte &pValue ) : bool
TryReadFloat ( float &pValue ) : bool
TryReadInt ( int &pValue ) : bool
TryReadLong ( long &pValue ) : bool
TryReadSByte ( sbyte &pValue ) : bool
TryReadShort ( short &pValue ) : bool
TryReadString ( string &pValue ) : bool
TryReadString ( string &pValue, int pLen ) : bool
TryReadUInt ( uint &pValue ) : bool
TryReadULong ( ulong &pValue ) : bool
TryReadUShort ( ushort &pValue ) : bool
WriteBool ( bool pValue ) : void
WriteByte ( byte pValue ) : void
WriteBytes ( byte pBytes ) : void
WriteDouble ( double pValue ) : void
WriteFloat ( float pValue ) : void
WriteHexAsBytes ( string hexString ) : void
WriteInt ( int pValue ) : void
WriteLong ( long pValue ) : void
WriteSByte ( sbyte pValue ) : void
WriteShort ( short pValue ) : void
WriteString ( string pValue ) : void
WriteString ( string pValue, int pLen ) : void
WriteStringLen ( string pValue, bool addNullTerminator = false ) : void
WriteUInt ( uint pValue ) : void
WriteULong ( ulong pValue ) : void
WriteUShort ( ushort pValue ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dump() public method

public Dump ( ) : string
return string

Fill() public method

public Fill ( int pLength, byte pValue ) : void
pLength int
pValue byte
return void

Packet() public method

public Packet ( ) : System
return System

Packet() public method

public Packet ( SH12Type type ) : System
type SH12Type
return System

Packet() public method

public Packet ( SH15Type type ) : System
type SH15Type
return System

Packet() public method

public Packet ( SH18Type type ) : System
type SH18Type
return System

Packet() public method

public Packet ( SH20Type type ) : System
type SH20Type
return System

Packet() public method

public Packet ( SH25Type type ) : System
type SH25Type
return System

Packet() public method

public Packet ( SH28Type type ) : System
type SH28Type
return System

Packet() public method

public Packet ( SH29Type type ) : System
type SH29Type
return System

Packet() public method

public Packet ( SH2Type type ) : System
type SH2Type
return System

Packet() public method

public Packet ( SH31Type type ) : System
type SH31Type
return System

Packet() public method

public Packet ( SH3Type type ) : System
type SH3Type
return System

Packet() public method

public Packet ( SH4Type type ) : System
type SH4Type
return System

Packet() public method

public Packet ( SH5Type type ) : System
type SH5Type
return System

Packet() public method

public Packet ( SH6Type type ) : System
type SH6Type
return System

Packet() public method

public Packet ( SH7Type type ) : System
type SH7Type
return System

Packet() public method

public Packet ( SH8Type type ) : System
type SH8Type
return System

Packet() public method

public Packet ( SH9Type type ) : System
type SH9Type
return System

Packet() public method

public Packet ( byte pData ) : System
pData byte
return System

Packet() public method

public Packet ( byte pHeader, byte pType ) : System
pHeader byte
pType byte
return System

Packet() public method

public Packet ( ushort pOpCode ) : System
pOpCode ushort
return System

ReadBytes() public method

public ReadBytes ( byte pBuffer ) : bool
pBuffer byte
return bool

ReadSkip() public method

public ReadSkip ( int pLength ) : bool
pLength int
return bool

Seek() public method

public Seek ( int offset ) : void
offset int
return void

SetByte() public method

public SetByte ( long pOffset, byte pValue ) : void
pOffset long
pValue byte
return void

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string

TryReadBool() public method

public TryReadBool ( bool &pValue ) : bool
pValue bool
return bool

TryReadByte() public method

public TryReadByte ( byte &pValue ) : bool
pValue byte
return bool

TryReadBytes() public method

public TryReadBytes ( int pLength, byte &pValue ) : bool
pLength int
pValue byte
return bool

TryReadFloat() public method

public TryReadFloat ( float &pValue ) : bool
pValue float
return bool

TryReadInt() public method

public TryReadInt ( int &pValue ) : bool
pValue int
return bool

TryReadLong() public method

public TryReadLong ( long &pValue ) : bool
pValue long
return bool

TryReadSByte() public method

public TryReadSByte ( sbyte &pValue ) : bool
pValue sbyte
return bool

TryReadShort() public method

public TryReadShort ( short &pValue ) : bool
pValue short
return bool

TryReadString() public method

public TryReadString ( string &pValue ) : bool
pValue string
return bool

TryReadString() public method

public TryReadString ( string &pValue, int pLen ) : bool
pValue string
pLen int
return bool

TryReadUInt() public method

public TryReadUInt ( uint &pValue ) : bool
pValue uint
return bool

TryReadULong() public method

public TryReadULong ( ulong &pValue ) : bool
pValue ulong
return bool

TryReadUShort() public method

public TryReadUShort ( ushort &pValue ) : bool
pValue ushort
return bool

WriteBool() public method

public WriteBool ( bool pValue ) : void
pValue bool
return void

WriteByte() public method

public WriteByte ( byte pValue ) : void
pValue byte
return void

WriteBytes() public method

public WriteBytes ( byte pBytes ) : void
pBytes byte
return void

WriteDouble() public method

public WriteDouble ( double pValue ) : void
pValue double
return void

WriteFloat() public method

public WriteFloat ( float pValue ) : void
pValue float
return void

WriteHexAsBytes() public method

public WriteHexAsBytes ( string hexString ) : void
hexString string
return void

WriteInt() public method

public WriteInt ( int pValue ) : void
pValue int
return void

WriteLong() public method

public WriteLong ( long pValue ) : void
pValue long
return void

WriteSByte() public method

public WriteSByte ( sbyte pValue ) : void
pValue sbyte
return void

WriteShort() public method

public WriteShort ( short pValue ) : void
pValue short
return void

WriteString() public method

public WriteString ( string pValue ) : void
pValue string
return void

WriteString() public method

public WriteString ( string pValue, int pLen ) : void
pValue string
pLen int
return void

WriteStringLen() public method

public WriteStringLen ( string pValue, bool addNullTerminator = false ) : void
pValue string
addNullTerminator bool
return void

WriteUInt() public method

public WriteUInt ( uint pValue ) : void
pValue uint
return void

WriteULong() public method

public WriteULong ( ulong pValue ) : void
pValue ulong
return void

WriteUShort() public method

public WriteUShort ( ushort pValue ) : void
pValue ushort
return void