C# Class DevPro_CardManager.Components.ReplayReader

Exibir arquivo Open project: Buttys/DevProCardManager

Public Properties

Property Type Description
DataReader System.IO.BinaryReader
Header ReplayHeader

Public Methods

Method Description
FromFile ( MemoryStream file ) : bool
FromFile ( string fileName ) : bool
GetExtraDeck ( string name ) : string[]
GetMainDeck ( string name ) : string[]
GetPlayers ( ) : string[]
ReadString ( int length ) : string

Private Methods

Method Description
ExtractDeckData ( ) : bool
HandleData ( BinaryReader reader ) : void
HandleHeader ( BinaryReader reader ) : void

Method Details

FromFile() public method

public FromFile ( MemoryStream file ) : bool
file System.IO.MemoryStream
return bool

FromFile() public method

public FromFile ( string fileName ) : bool
fileName string
return bool

GetExtraDeck() public method

public GetExtraDeck ( string name ) : string[]
name string
return string[]

GetMainDeck() public method

public GetMainDeck ( string name ) : string[]
name string
return string[]

GetPlayers() public method

public GetPlayers ( ) : string[]
return string[]

ReadString() public method

public ReadString ( int length ) : string
length int
return string

Property Details

DataReader public_oe property

public BinaryReader,System.IO DataReader
return System.IO.BinaryReader

Header public_oe property

public ReplayHeader Header
return ReplayHeader