Vital
Loading...
Searching...
No Matches
DownloadSection::DownloadPack Struct Reference

Represents a downloadable pack with name, author, ID, URL, and local destination file. More...

#include <download_section.h>

Public Member Functions

 DownloadPack (std::string n, std::string a, int i, URL u, File d)
 

Public Attributes

std::string name
 The name of the pack.
 
std::string author
 The author of the pack.
 
int id
 The pack's unique ID.
 
URL url
 The download URL for the pack.
 
File download_location
 The local file where the pack is downloaded.
 
bool finished
 Whether the download is finished.
 

Detailed Description

Represents a downloadable pack with name, author, ID, URL, and local destination file.

Constructor & Destructor Documentation

◆ DownloadPack()

DownloadSection::DownloadPack::DownloadPack ( std::string n,
std::string a,
int i,
URL u,
File d )
inline

Member Data Documentation

◆ author

std::string DownloadSection::DownloadPack::author

The author of the pack.

◆ download_location

File DownloadSection::DownloadPack::download_location

The local file where the pack is downloaded.

◆ finished

bool DownloadSection::DownloadPack::finished

Whether the download is finished.

◆ id

int DownloadSection::DownloadPack::id

The pack's unique ID.

◆ name

std::string DownloadSection::DownloadPack::name

The name of the pack.

◆ url

URL DownloadSection::DownloadPack::url

The download URL for the pack.


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