Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_DownloadManager_Dialog.c File Reference

Go to the source code of this file.

Enumerations

enum  SCR_EDownloadManagerTabs { ACTIVE = 0 , HISTORY }

Functions

override void OnMenuOpen (SCR_ConfigurableDialogUiPreset preset)
override void OnMenuClose ()
override void OnMenuUpdate (float tDelta)
void UpdateProgressWidgets ()
void UpdateDownloadingSpeedWidget (bool display, bool showFallback)
void InitList ()
SCR_WorkshopItemActionDownload GetSelectedAction ()
void OnNewDownload (SCR_WorkshopItem item, SCR_WorkshopItemActionDownload action)
void OnNewActionActivate (SCR_WorkshopItemActionDownload action)
void OnDownloadComplete (SCR_WorkshopItemActionDownload action)
void OnDownloadFailed (SCR_WorkshopItemActionDownload action, int reason)
void OnDownloadCanceled (SCR_WorkshopItemActionDownload action)
void OnBackButton ()
void OnPauseAllButton ()
void OnPauseButton ()
void OnCancelButton ()
void OnAutoenableButton ()

Variables

enum SCR_EDownloadManagerTabs STATE_DOWNLOADING = "#AR-Workshop_TabName_Downloaded"
const string STATE_ALL_PAUSE = "#AR-DownloadManager_State_AllDownloadsPaused"
const string STATE_NO_ACTIVE_DOWNLOADS = "#AR-DownloadManager_State_NoActiveDownloads"
const ResourceName DOWNLOAD_LINE_LAYOUT = "{FB196DBC0ABA6AE4}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManagerEntry.layout"
const string DOWNLOAD_SUMMARY_FORMAT = "%1 / %2"
const string DOWNLOAD_SUMMARY_COLORED_FORMAT = "<color rgba=%1>%2</color>"
ref SCR_DownloadManagerDialogWidgets m_Widgets = new SCR_DownloadManagerDialogWidgets()
ref SCR_DownloadManagerListComponent m_ActiveDownloads
ref SCR_DownloadManagerListComponent m_HistoryDownloads

Enumeration Type Documentation

◆ SCR_EDownloadManagerTabs

Enumerator
ACTIVE 
HISTORY 

Definition at line 10 of file SCR_DownloadManager_Dialog.c.

Function Documentation

◆ InitList()

void InitList ( )
protected

Definition at line 221 of file SCR_DownloadManager_Dialog.c.

◆ OnAutoenableButton()

void OnAutoenableButton ( )
protected

Definition at line 378 of file SCR_DownloadManager_Dialog.c.

◆ OnBackButton()

void OnBackButton ( )
protected

Definition at line 332 of file SCR_DownloadManager_Dialog.c.

◆ OnCancelButton()

void OnCancelButton ( )
protected

Definition at line 367 of file SCR_DownloadManager_Dialog.c.

◆ OnDownloadCanceled()

void OnDownloadCanceled ( SCR_WorkshopItemActionDownload action)
protected

Definition at line 323 of file SCR_DownloadManager_Dialog.c.

◆ OnDownloadComplete()

void OnDownloadComplete ( SCR_WorkshopItemActionDownload action)
protected

Definition at line 296 of file SCR_DownloadManager_Dialog.c.

◆ OnDownloadFailed()

void OnDownloadFailed ( SCR_WorkshopItemActionDownload action,
int reason )
protected

Call when download are not running Move view to failed downlaods and show dialog with listed downloads

Definition at line 308 of file SCR_DownloadManager_Dialog.c.

◆ OnMenuClose()

override void OnMenuClose ( )
protected

Definition at line 73 of file SCR_DownloadManager_Dialog.c.

◆ OnMenuOpen()

override void OnMenuOpen ( SCR_ConfigurableDialogUiPreset preset)
protected

Definition at line 43 of file SCR_DownloadManager_Dialog.c.

◆ OnMenuUpdate()

override void OnMenuUpdate ( float tDelta)
protected

Definition at line 84 of file SCR_DownloadManager_Dialog.c.

◆ OnNewActionActivate()

void OnNewActionActivate ( SCR_WorkshopItemActionDownload action)
protected

Definition at line 289 of file SCR_DownloadManager_Dialog.c.

◆ OnNewDownload()

void OnNewDownload ( SCR_WorkshopItem item,
SCR_WorkshopItemActionDownload action )
protected

Definition at line 266 of file SCR_DownloadManager_Dialog.c.

◆ OnPauseAllButton()

void OnPauseAllButton ( )
protected

Definition at line 339 of file SCR_DownloadManager_Dialog.c.

◆ OnPauseButton()

void OnPauseButton ( )
protected

Definition at line 351 of file SCR_DownloadManager_Dialog.c.

◆ UpdateDownloadingSpeedWidget()

void UpdateDownloadingSpeedWidget ( bool display,
bool showFallback )
protected

Definition at line 187 of file SCR_DownloadManager_Dialog.c.

◆ UpdateProgressWidgets()

void UpdateProgressWidgets ( )
protected

Definition at line 128 of file SCR_DownloadManager_Dialog.c.

Variable Documentation

◆ DOWNLOAD_LINE_LAYOUT

const ResourceName DOWNLOAD_LINE_LAYOUT = "{FB196DBC0ABA6AE4}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManagerEntry.layout"
protected

Definition at line 23 of file SCR_DownloadManager_Dialog.c.

◆ DOWNLOAD_SUMMARY_COLORED_FORMAT

const string DOWNLOAD_SUMMARY_COLORED_FORMAT = "<color rgba=%1>%2</color>"
protected

Definition at line 25 of file SCR_DownloadManager_Dialog.c.

◆ DOWNLOAD_SUMMARY_FORMAT

const string DOWNLOAD_SUMMARY_FORMAT = "%1 / %2"
protected

Definition at line 24 of file SCR_DownloadManager_Dialog.c.

◆ m_ActiveDownloads

ref SCR_DownloadManagerListComponent m_ActiveDownloads
protected

Definition at line 30 of file SCR_DownloadManager_Dialog.c.

◆ m_HistoryDownloads

ref SCR_DownloadManagerListComponent m_HistoryDownloads
protected

Definition at line 31 of file SCR_DownloadManager_Dialog.c.

◆ m_Widgets

Definition at line 27 of file SCR_DownloadManager_Dialog.c.

◆ STATE_ALL_PAUSE

const string STATE_ALL_PAUSE = "#AR-DownloadManager_State_AllDownloadsPaused"
protected

Definition at line 20 of file SCR_DownloadManager_Dialog.c.

◆ STATE_DOWNLOADING

enum SCR_EDownloadManagerTabs STATE_DOWNLOADING = "#AR-Workshop_TabName_Downloaded"

◆ STATE_NO_ACTIVE_DOWNLOADS

const string STATE_NO_ACTIVE_DOWNLOADS = "#AR-DownloadManager_State_NoActiveDownloads"
protected

Definition at line 21 of file SCR_DownloadManager_Dialog.c.