Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_DownloadManagerEntry Class Reference
Inheritance diagram for SCR_DownloadManagerEntry:
SCR_ScriptedWidgetComponent

Protected Member Functions

ScriptInvokerBase< ScriptInvoker_DownloadManagerEntryGetOnUpdate ()
override void HandlerAttached (Widget w)
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
void SetupWidgets ()
void FallbackVisuals ()
void UpdateProgressWidgets (bool force=false)
 Update all text displaying progress.
void UpdateMessage (bool processing)
void UpdateButtons ()
void StateMessage (out string message, out string imageName, out Color color)
 Setup state message variables.
void FailReason (out string message, out string icon)
 Return message with details why entry wasn't downloaded.
void AnimateIcon (WidgetAnimationBase animation)
 Return message with details why entry wasn't downloaded.
void DisablePauserResume (SCR_ModularButtonComponent button)
void EnablePauserResume (SCR_ModularButtonComponent button)
void OnActionChanged (SCR_WorkshopItemAction action)
void InitForDownloadAction (SCR_WorkshopItem item, SCR_WorkshopItemActionDownload action)
void CanDoActions (out bool canPause, out bool canResume, out bool canCancel, out bool canRetry)
 Store which actions can be used for entry in current state.
void OnClickPause ()
void OnClickResume ()
void OnClickCancel ()
void OnClickRetry ()
SCR_WorkshopItem GetItem ()
SCR_WorkshopItemActionDownload GetDownloadAction ()
EDownloadManagerActionState GetState ()
bool GetPauseEnabled ()

Static Protected Member Functions

static EDownloadManagerActionState DownloadActionState (SCR_WorkshopItemActionDownload action)

Protected Attributes

const int PROCESSING_MESSAGE_UPDATE_DELAY = 2000
const string PERCENTAGE = "#AR-SupportStation_ActionFormat_Percentage"
ResourceName m_sIconImageset
float m_fIconAnimationSpeed
EAnimationCurve m_eIconAnimationCurve
bool m_bHideProgressBarOnComplete
ref SCR_DownloadManagerEntryWidgets m_Widgets = new SCR_DownloadManagerEntryWidgets()
ref SCR_BackendImageComponent m_BackendImage
ref SCR_WorkshopItemActionDownload m_Action
ref SCR_WorkshopItem m_Item
bool m_bPauseEnabled = true
bool m_bShowButtons
bool m_bDelayedProcessingDisplay
EDownloadManagerActionState m_iState = EDownloadManagerActionState.INACTIVE
WidgetAnimationImageRotation m_SpinnerAnimation
ref ScriptInvokerBase< ScriptInvoker_DownloadManagerEntrym_OnUpdate

Detailed Description

Definition at line 10 of file SCR_DownloadManagerEntry.c.

Member Function Documentation

◆ AnimateIcon()

void SCR_DownloadManagerEntry::AnimateIcon ( WidgetAnimationBase animation)
inlineprotected

Return message with details why entry wasn't downloaded.

Definition at line 351 of file SCR_DownloadManagerEntry.c.

◆ CanDoActions()

void SCR_DownloadManagerEntry::CanDoActions ( out bool canPause,
out bool canResume,
out bool canCancel,
out bool canRetry )
inlineprotected

Store which actions can be used for entry in current state.

Definition at line 449 of file SCR_DownloadManagerEntry.c.

◆ DisablePauserResume()

void SCR_DownloadManagerEntry::DisablePauserResume ( SCR_ModularButtonComponent button)
inlineprotected

Definition at line 370 of file SCR_DownloadManagerEntry.c.

◆ DownloadActionState()

EDownloadManagerActionState SCR_DownloadManagerEntry::DownloadActionState ( SCR_WorkshopItemActionDownload action)
inlinestaticprotected

Based on current download action state setup state simplified for download manager UI grouping Function is static to compare download action state before entry is created

Definition at line 404 of file SCR_DownloadManagerEntry.c.

◆ EnablePauserResume()

void SCR_DownloadManagerEntry::EnablePauserResume ( SCR_ModularButtonComponent button)
inlineprotected

Definition at line 383 of file SCR_DownloadManagerEntry.c.

◆ FailReason()

void SCR_DownloadManagerEntry::FailReason ( out string message,
out string icon )
inlineprotected

Return message with details why entry wasn't downloaded.

Definition at line 335 of file SCR_DownloadManagerEntry.c.

◆ FallbackVisuals()

void SCR_DownloadManagerEntry::FallbackVisuals ( )
inlineprotected

Definition at line 134 of file SCR_DownloadManagerEntry.c.

◆ GetDownloadAction()

SCR_WorkshopItemActionDownload SCR_DownloadManagerEntry::GetDownloadAction ( )
inlineprotected

Definition at line 519 of file SCR_DownloadManagerEntry.c.

◆ GetItem()

SCR_WorkshopItem SCR_DownloadManagerEntry::GetItem ( )
inlineprotected

Definition at line 513 of file SCR_DownloadManagerEntry.c.

◆ GetOnUpdate()

ScriptInvokerBase< ScriptInvoker_DownloadManagerEntry > SCR_DownloadManagerEntry::GetOnUpdate ( )
inlineprotected

Definition at line 46 of file SCR_DownloadManagerEntry.c.

◆ GetPauseEnabled()

bool SCR_DownloadManagerEntry::GetPauseEnabled ( )
inlineprotected

Definition at line 531 of file SCR_DownloadManagerEntry.c.

◆ GetState()

EDownloadManagerActionState SCR_DownloadManagerEntry::GetState ( )
inlineprotected

Definition at line 525 of file SCR_DownloadManagerEntry.c.

◆ HandlerAttached()

override void SCR_DownloadManagerEntry::HandlerAttached ( Widget w)
inlineprotected

Definition at line 59 of file SCR_DownloadManagerEntry.c.

◆ InitForDownloadAction()

void SCR_DownloadManagerEntry::InitForDownloadAction ( SCR_WorkshopItem item,
SCR_WorkshopItemActionDownload action )
inlineprotected

Initializes the line in interactive mode. It will be able to interact with the download action.

Definition at line 431 of file SCR_DownloadManagerEntry.c.

◆ OnActionChanged()

void SCR_DownloadManagerEntry::OnActionChanged ( SCR_WorkshopItemAction action)
inlineprotected

Definition at line 393 of file SCR_DownloadManagerEntry.c.

◆ OnClickCancel()

void SCR_DownloadManagerEntry::OnClickCancel ( )
inlineprotected

Definition at line 490 of file SCR_DownloadManagerEntry.c.

◆ OnClickPause()

void SCR_DownloadManagerEntry::OnClickPause ( )
inlineprotected

Definition at line 458 of file SCR_DownloadManagerEntry.c.

◆ OnClickResume()

void SCR_DownloadManagerEntry::OnClickResume ( )
inlineprotected

Definition at line 473 of file SCR_DownloadManagerEntry.c.

◆ OnClickRetry()

void SCR_DownloadManagerEntry::OnClickRetry ( )
inlineprotected

Definition at line 499 of file SCR_DownloadManagerEntry.c.

◆ OnMouseEnter()

override bool SCR_DownloadManagerEntry::OnMouseEnter ( Widget w,
int x,
int y )
inlineprotected

Definition at line 86 of file SCR_DownloadManagerEntry.c.

◆ OnMouseLeave()

override bool SCR_DownloadManagerEntry::OnMouseLeave ( Widget w,
Widget enterW,
int x,
int y )
inlineprotected

Definition at line 95 of file SCR_DownloadManagerEntry.c.

◆ SetupWidgets()

void SCR_DownloadManagerEntry::SetupWidgets ( )
inlineprotected

Definition at line 108 of file SCR_DownloadManagerEntry.c.

◆ StateMessage()

void SCR_DownloadManagerEntry::StateMessage ( out string message,
out string imageName,
out Color color )
inlineprotected

Setup state message variables.

Definition at line 268 of file SCR_DownloadManagerEntry.c.

◆ UpdateButtons()

void SCR_DownloadManagerEntry::UpdateButtons ( )
inlineprotected

Definition at line 246 of file SCR_DownloadManagerEntry.c.

◆ UpdateMessage()

void SCR_DownloadManagerEntry::UpdateMessage ( bool processing)
inlineprotected

Definition at line 215 of file SCR_DownloadManagerEntry.c.

◆ UpdateProgressWidgets()

void SCR_DownloadManagerEntry::UpdateProgressWidgets ( bool force = false)
inlineprotected

Update all text displaying progress.

Definition at line 164 of file SCR_DownloadManagerEntry.c.

Member Data Documentation

◆ m_Action

ref SCR_WorkshopItemActionDownload SCR_DownloadManagerEntry::m_Action
protected

Definition at line 33 of file SCR_DownloadManagerEntry.c.

◆ m_BackendImage

ref SCR_BackendImageComponent SCR_DownloadManagerEntry::m_BackendImage
protected

Definition at line 31 of file SCR_DownloadManagerEntry.c.

◆ m_bDelayedProcessingDisplay

bool SCR_DownloadManagerEntry::m_bDelayedProcessingDisplay
protected

Definition at line 38 of file SCR_DownloadManagerEntry.c.

◆ m_bHideProgressBarOnComplete

bool SCR_DownloadManagerEntry::m_bHideProgressBarOnComplete
protected

Definition at line 28 of file SCR_DownloadManagerEntry.c.

◆ m_bPauseEnabled

bool SCR_DownloadManagerEntry::m_bPauseEnabled = true
protected

Definition at line 36 of file SCR_DownloadManagerEntry.c.

◆ m_bShowButtons

bool SCR_DownloadManagerEntry::m_bShowButtons
protected

Definition at line 37 of file SCR_DownloadManagerEntry.c.

◆ m_eIconAnimationCurve

EAnimationCurve SCR_DownloadManagerEntry::m_eIconAnimationCurve
protected

Definition at line 25 of file SCR_DownloadManagerEntry.c.

◆ m_fIconAnimationSpeed

float SCR_DownloadManagerEntry::m_fIconAnimationSpeed
protected

Definition at line 22 of file SCR_DownloadManagerEntry.c.

◆ m_iState

EDownloadManagerActionState SCR_DownloadManagerEntry::m_iState = EDownloadManagerActionState.INACTIVE
protected

Definition at line 39 of file SCR_DownloadManagerEntry.c.

◆ m_Item

ref SCR_WorkshopItem SCR_DownloadManagerEntry::m_Item
protected

Definition at line 34 of file SCR_DownloadManagerEntry.c.

◆ m_OnUpdate

ref ScriptInvokerBase<ScriptInvoker_DownloadManagerEntry> SCR_DownloadManagerEntry::m_OnUpdate
protected

Definition at line 43 of file SCR_DownloadManagerEntry.c.

◆ m_sIconImageset

ResourceName SCR_DownloadManagerEntry::m_sIconImageset
protected

Definition at line 19 of file SCR_DownloadManagerEntry.c.

◆ m_SpinnerAnimation

WidgetAnimationImageRotation SCR_DownloadManagerEntry::m_SpinnerAnimation
protected

Definition at line 41 of file SCR_DownloadManagerEntry.c.

◆ m_Widgets

ref SCR_DownloadManagerEntryWidgets SCR_DownloadManagerEntry::m_Widgets = new SCR_DownloadManagerEntryWidgets()
protected

Definition at line 30 of file SCR_DownloadManagerEntry.c.

◆ PERCENTAGE

const string SCR_DownloadManagerEntry::PERCENTAGE = "#AR-SupportStation_ActionFormat_Percentage"
protected

Definition at line 16 of file SCR_DownloadManagerEntry.c.

◆ PROCESSING_MESSAGE_UPDATE_DELAY

const int SCR_DownloadManagerEntry::PROCESSING_MESSAGE_UPDATE_DELAY = 2000
protected

Definition at line 13 of file SCR_DownloadManagerEntry.c.


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