C# Class BF2Statistics.BF2Mod

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

Méthodes publiques

Свойство Type Description
Levels List

Protected Properties

Свойство Type Description
LoadedLevels BF2Map>.Dictionary

Méthodes publiques

Méthode Description
BF2Mod ( string ModsPath, string ModName ) : System

Constructs a new BF2Mod object

LoadMap ( string Name ) : BF2Map

Fetches the BF2 map into an object. If the map has already been loaded into an object previously, that object will be returned instead.

ToString ( ) : string

Returns the Mod's Title

Method Details

BF2Mod() public méthode

Constructs a new BF2Mod object
public BF2Mod ( string ModsPath, string ModName ) : System
ModsPath string The full path to the Mods folder
ModName string THe mod's folder name
Résultat System

LoadMap() public méthode

Fetches the BF2 map into an object. If the map has already been loaded into an object previously, that object will be returned instead.
public LoadMap ( string Name ) : BF2Map
Name string The map FOLDER name
Résultat BF2Map

ToString() public méthode

Returns the Mod's Title
public ToString ( ) : string
Résultat string

Property Details

Levels public_oe property

Containst a list of map folders found in the levels folder
public List Levels
Résultat List

LoadedLevels protected_oe property

Once a Map is loaded into an object, it is stored here to prevent additional loading
protected Dictionary LoadedLevels
Résultat BF2Map>.Dictionary