C# Class OpenBound_Game_Launcher.Forms.GameUpdater

Mostra file Open project: WickedPeanuts/OpenBound

Public Properties

Property Type Description
Timer1TickAction AsynchronousAction

Public Methods

Method Description
GameUpdater ( PatchHistory serverPatchHistory ) : OpenBound_Game_Launcher.Common

Private Methods

Method Description
CloseClientAndApplyPatchTickAction ( DateTime unpackingFinalizationTime, int lastSecDiff = 10 ) : void
GameUpdater_Load ( object sender, EventArgs e ) : void
HaltPatchingProcess ( Exception exception = null ) : void
InsertOnLogListBox ( string text ) : void
OnFailToDownloadPatch ( Exception exception, PatchHistory patchHistory ) : void
OnFinalizeDownloadingFile ( Queue actionQueue, PatchHistory patchHistory ) : void
OnReceiveData ( string filename, int downloadedFiles, float downloadPercentage, long receivedBytes, long totalBytes, DateTime downloadStartTime ) : void
OnStartUnpackingPatch ( PatchHistory patch ) : void
OnUnpackPatch ( PatchHistory patch, bool isMD5Valid, Exception exception ) : void
OpenPatcher ( ) : void
StartUnpackingFiles ( ) : void
UpdateMenuButtons ( MenuState menuState ) : void
UpdateMenuLabels ( MenuState menuState, Dictionary replacingTextDictionary = null ) : void
abortButton_Click ( object sender, EventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void
timer2_Tick ( object sender, EventArgs e ) : void
toggleLogButton_Click ( object sender, EventArgs e ) : void
updateButton_Click ( object sender, EventArgs e ) : void

Method Details

GameUpdater() public method

public GameUpdater ( PatchHistory serverPatchHistory ) : OpenBound_Game_Launcher.Common
serverPatchHistory PatchHistory
return OpenBound_Game_Launcher.Common

Property Details

Timer1TickAction public_oe property

public AsynchronousAction Timer1TickAction
return AsynchronousAction