Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_WorkshopUiCommon.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_WorkshopUiCommon
 
class  SCR_DeleteAddonsListDialog
 
class  SCR_ServerJoinDownloadsConfirmationDialog
 Dialog to cancel downloads during to server joining. More...
 
class  SCR_BannedAddonsDetectedDialog
 Dialog which lists names of all banned addons. More...
 
class  SCR_AddonListDialog
 Shows a list of addons and some text. More...
 
class  SCR_SetAddonsEnabledDialog
 When confirmed, provided addons will be enabled or disabled. More...
 
class  SCR_DisableDependentAddonsDialog
 Dialog which is used when an addon is disabled but some dependent addons depend on it. More...
 
class  SCR_CancelMyReportDialog
 Dialog which sends a request to delete user's report. More...
 
class  SCR_DeleteAddonDependentAddonsDetected
 This dialog is shown when we want to delete an addon but some other downloaded addons depend on it. More...
 
class  SCR_WorkshopItemBackendImageComponent
 Same as SCR_BackendImageComponent, but implements default image based on tag of Workshop Item. More...
 

Functions

private void SCR_DeleteAddonDialog (SCR_WorkshopItem item, string preset)
 
override void OnConfirm ()
 
void SCR_CancelDownloadConfirmationDialog (array< ref SCR_WorkshopItemActionDownload > actionsToCancel)
 
override void OnMenuOpen (SCR_ConfigurableDialogUiPreset preset)
 
void SetScenarioAndImage (MissionWorkshopItem scenario, BackendImage image)
 Sets reference to workshop item. Call this, then call SetImage as usual. More...
 
override void ShowDefaultImage ()
 
override void ShowLoadingImage (string fallbackImage)
 

Variables

class SCR_WorkshopUiCommon m_Item
 
SCR_DeleteAddonsListDialog m_aActions
 Dialog to cancel downloads. More...
 
const protected ResourceName DOWNLOAD_LINE_LAYOUT = "{1C5D2CC10D7A1BC3}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManager_AddonDownloadLineNonInteractive.layout"
 
SCR_WorkshopItemBackendImageComponent m_Scenario
 Same as SCR_BackendImageComponent, but implements default image based on scenario. More...
 
const protected string LOADING_BACKGROUND_IMAGE = SCR_WorkshopUiCommon.SCENARIO_SP_DEFAULT_THUMBNAIL
 

Function Documentation

◆ OnConfirm()

override void OnConfirm ( )

Definition at line 623 of file SCR_WorkshopUiCommon.c.

◆ OnMenuOpen()

override void OnMenuOpen ( SCR_ConfigurableDialogUiPreset  preset)

Definition at line 700 of file SCR_WorkshopUiCommon.c.

◆ SCR_CancelDownloadConfirmationDialog()

void SCR_CancelDownloadConfirmationDialog ( array< ref SCR_WorkshopItemActionDownload actionsToCancel)

Definition at line 687 of file SCR_WorkshopUiCommon.c.

◆ SCR_DeleteAddonDialog()

private void SCR_DeleteAddonDialog ( SCR_WorkshopItem  item,
string  preset 
)

Definition at line 615 of file SCR_WorkshopUiCommon.c.

◆ SetScenarioAndImage()

void SetScenarioAndImage ( MissionWorkshopItem  scenario,
BackendImage  image 
)

Sets reference to workshop item. Call this, then call SetImage as usual.

Definition at line 1150 of file SCR_WorkshopUiCommon.c.

◆ ShowDefaultImage()

override void ShowDefaultImage ( )

Definition at line 1158 of file SCR_WorkshopUiCommon.c.

◆ ShowLoadingImage()

override void ShowLoadingImage ( string  fallbackImage)

Definition at line 1165 of file SCR_WorkshopUiCommon.c.

Variable Documentation

◆ DOWNLOAD_LINE_LAYOUT

const protected ResourceName DOWNLOAD_LINE_LAYOUT = "{1C5D2CC10D7A1BC3}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManager_AddonDownloadLineNonInteractive.layout"

Definition at line 684 of file SCR_WorkshopUiCommon.c.

◆ LOADING_BACKGROUND_IMAGE

const protected string LOADING_BACKGROUND_IMAGE = SCR_WorkshopUiCommon.SCENARIO_SP_DEFAULT_THUMBNAIL

Definition at line 1146 of file SCR_WorkshopUiCommon.c.

◆ m_aActions

Dialog to cancel downloads.

◆ m_Item

class SCR_WorkshopUiCommon m_Item

Confirmation dialog for unsubscribing an addon. On confirm it deletes local data and unsubscribes the addon.

◆ m_Scenario

Same as SCR_BackendImageComponent, but implements default image based on scenario.