C# Class HWBalanceAnalyzer.Control.HostileWorldsLogParser

Extracts detailed information from Hostile Worlds log files.
ファイルを表示 Open project: npruehs/hostile-worlds Class Usage Examples

Public Methods

Method Description
HostileWorldsLogParser ( Controller controller ) : System

Constructs a new parser for extracting detailed information from Hostile Worlds log files, loading the list of valid squad member class names and valid ability names.

ParseLogFromStream ( Stream stream ) : List

Parses all Hostile Worlds match logs from the passed stream.

Private Methods

Method Description
AddAbilityNames ( ) : void

Fills the list of valid ability names.

AddSquadMemberNames ( ) : void

Fills the list of valid squad member class names.

Method Details

HostileWorldsLogParser() public method

Constructs a new parser for extracting detailed information from Hostile Worlds log files, loading the list of valid squad member class names and valid ability names.
public HostileWorldsLogParser ( Controller controller ) : System
controller Controller /// the controller to be notified whenever any parse errors occur ///
return System

ParseLogFromStream() public method

Parses all Hostile Worlds match logs from the passed stream.
public ParseLogFromStream ( Stream stream ) : List
stream Stream /// to stream to parse the match logs from ///
return List