game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
LegendaryProgress Struct Reference

Progress information for Legendary operations. More...

#include <legendary_integration.h>

Public Types

enum class  State {
  Starting , Downloading , Verifying , Installing ,
  Extracting , Completed , Failed , Cancelled
}

Public Member Functions

std::string getStateStr () const

Public Attributes

int64_t bytesDownloaded = 0
int64_t bytesTotal = 0
std::string currentFile
float downloadSpeed = 0.0f
 MB/s.
std::string errorMessage
int estimatedTimeRemaining = 0
 Seconds.
int percentComplete = 0
State state = State::Starting

Detailed Description

Progress information for Legendary operations.

Definition at line 96 of file legendary_integration.h.

Member Enumeration Documentation

◆ State

enum class LegendaryProgress::State
strong
Enumerator
Starting 
Downloading 
Verifying 
Installing 
Extracting 
Completed 
Failed 
Cancelled 

Definition at line 98 of file legendary_integration.h.

Member Function Documentation

◆ getStateStr()

std::string LegendaryProgress::getStateStr ( ) const

Member Data Documentation

◆ bytesDownloaded

int64_t LegendaryProgress::bytesDownloaded = 0

Definition at line 112 of file legendary_integration.h.

◆ bytesTotal

int64_t LegendaryProgress::bytesTotal = 0

Definition at line 113 of file legendary_integration.h.

◆ currentFile

std::string LegendaryProgress::currentFile

Definition at line 111 of file legendary_integration.h.

◆ downloadSpeed

float LegendaryProgress::downloadSpeed = 0.0f

MB/s.

Definition at line 115 of file legendary_integration.h.

◆ errorMessage

std::string LegendaryProgress::errorMessage

Definition at line 117 of file legendary_integration.h.

◆ estimatedTimeRemaining

int LegendaryProgress::estimatedTimeRemaining = 0

Seconds.

Definition at line 116 of file legendary_integration.h.

◆ percentComplete

int LegendaryProgress::percentComplete = 0

Definition at line 114 of file legendary_integration.h.

Referenced by LegendaryIntegration::installGame().

◆ state

State LegendaryProgress::state = State::Starting

Definition at line 110 of file legendary_integration.h.

Referenced by getStateStr(), and LegendaryIntegration::installGame().


The documentation for this struct was generated from the following files: