C# Class BF2Statistics.StatsPython

The Stats python class is used to Install and Restore the Server python files, that control stats, awards and ranks.
ファイルを表示 Open project: BF2Statistics/ControlCenter

Public Properties

Property Type Description
LatestVersion System.Version

Public Methods

Method Description
BackupAndInstall ( ) : void

Backsup the current python files, and installs the ranked enabled ones

RemoveAndRestore ( ) : void

Removes the rank enabled python files, and installs the originals back

RestoreRankedPyFiles ( ) : void

Restores the ranked python files back to the original state, without affecting any custom scripts or medal data files

Method Details

BackupAndInstall() public static method

Backsup the current python files, and installs the ranked enabled ones
public static BackupAndInstall ( ) : void
return void

RemoveAndRestore() public static method

Removes the rank enabled python files, and installs the originals back
public static RemoveAndRestore ( ) : void
return void

RestoreRankedPyFiles() public static method

Restores the ranked python files back to the original state, without affecting any custom scripts or medal data files
public static RestoreRankedPyFiles ( ) : void
return void

Property Details

LatestVersion public_oe static_oe property

The latest release version of the stats python
public static Version,System LatestVersion
return System.Version