C# Class WowPacketParser.Loading.BinaryPacketReader

Inheritance: IPacketReader
ファイルを表示 Open project: TrinityCore/WowPacketParser Class Usage Examples

Public Methods

Method Description
BinaryPacketReader ( SniffType type, string fileName, Encoding encoding ) : System
CanRead ( ) : bool
Dispose ( ) : void
GetClientLocale ( ) : string
GetCurrentSize ( ) : long
GetLocale ( ) : LocaleConstant
GetTotalSize ( ) : long
Read ( int number, string fileName ) : WowPacketParser.Misc.Packet

Private Methods

Method Description
ReadHeader ( ) : void
SetBuild ( uint build ) : void

Method Details

BinaryPacketReader() public method

public BinaryPacketReader ( SniffType type, string fileName, Encoding encoding ) : System
type SniffType
fileName string
encoding System.Text.Encoding
return System

CanRead() public method

public CanRead ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetClientLocale() public static method

public static GetClientLocale ( ) : string
return string

GetCurrentSize() public method

public GetCurrentSize ( ) : long
return long

GetLocale() public static method

public static GetLocale ( ) : LocaleConstant
return LocaleConstant

GetTotalSize() public method

public GetTotalSize ( ) : long
return long

Read() public method

public Read ( int number, string fileName ) : WowPacketParser.Misc.Packet
number int
fileName string
return WowPacketParser.Misc.Packet