C# Class BF2Statistics.MapList

Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Méthodes publiques

Méthode Description
AddFromString ( string Line ) : bool

Parses a line in con file format, and adds the map to the entry list if its valid

MapList ( ) : System

Creates a new Maplist Container

MapList ( string FileLines ) : System

Creates a new maplist container with the specified maplist.con lines

SaveToFile ( string FilePath ) : void

Saves the current maplist to a Con file

Method Details

AddFromString() public méthode

Parses a line in con file format, and adds the map to the entry list if its valid
public AddFromString ( string Line ) : bool
Line string The con file formated string to parse
Résultat bool

MapList() public méthode

Creates a new Maplist Container
public MapList ( ) : System
Résultat System

MapList() public méthode

Creates a new maplist container with the specified maplist.con lines
public MapList ( string FileLines ) : System
FileLines string
Résultat System

SaveToFile() public méthode

Saves the current maplist to a Con file
public SaveToFile ( string FilePath ) : void
FilePath string The full path to the con file. If it does not exist, one will be created
Résultat void