Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AddonLineValidateRepairComponent Interface Reference
Inheritance diagram for SCR_AddonLineValidateRepairComponent:
SCR_ListMenuEntryComponent SCR_ScriptedWidgetComponent

Public Member Functions

bool IsBusy ()
 
bool HasFailed ()
 
bool HasFailedDownloading ()
 
SCR_WorkshopItem GetWorkshopItem ()
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
bool StartValidating ()
 
void StopValidating (bool skipUIUpdate=false)
 
bool StartRepairing ()
 
void StopRepairing (bool skipUIUpdate=false)
 
bool StartCleanDownload ()
 
ScriptInvokerScriptedWidgetComponent GetOnValidateStart ()
 
ScriptInvokerScriptedWidgetComponent GetOnValidateEnd ()
 
ScriptInvokerScriptedWidgetComponent GetOnRepairStart ()
 
ScriptInvokerScriptedWidgetComponent GetOnRepairEnd ()
 
void Init (notnull SCR_WorkshopItem item, notnull map< SCR_EAddonValidateState, ref SCR_AddonLineValidateState > states, notnull map< int, string > errorMessages)
 Setup line.
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from SCR_ListMenuEntryComponent
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnDoubleClick (Widget w, int x, int y, int button)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
void AnimateOpacity (int delay, float animationTime, float opacityEnd, float opacityStart=-1)
 Animate whole widget opacity.
 
bool IsInnerButtonInteraction ()
 
bool IsFocused ()
 
bool IsAvailable ()
 
ScriptInvokerString GetOnMouseInteractionButtonClicked ()
 
ScriptInvokerScriptedWidgetComponent GetOnFocus ()
 
ScriptInvokerScriptedWidgetComponent GetOnFocusLost ()
 
ScriptInvokerScriptedWidgetComponent GetOnMouseEnter ()
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

bool IsBusyExtended ()
 
void OnInputDeviceChange (EInputDeviceType oldDevice, EInputDeviceType newDevice)
 
void UpdateAllWidgets ()
 Update visual state of line.
 
void UpdateImage ()
 
void UpdateDownloadProgressBar ()
 
void StartContinuousUpdate ()
 
void StopContinuousUpdate (bool skipUIUpdate=false)
 
void ContinuousUpdate ()
 
void OnValidationSuccess ()
 
void OnValidationError ()
 
void OnRepairingSuccess ()
 
void OnRepairingError ()
 
void OnClickAttemptResubscribing ()
 
void OnDownloadStart (SCR_DownloadSequence sequence)
 
void OnDownloadFinished ()
 
void OnDownloadError (SCR_DownloadSequence sequence)
 
bool StartUpdating ()
 
void FinishedUpdating ()
 
bool NeedUpdating ()
 
void SetErrorMessage (int code)
 
void OnWorkshopItemChange ()
 
void OnWorkshopItemLoaded ()
 
- Protected Member Functions inherited from SCR_ListMenuEntryComponent
void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip)
 
void OnInnerButtonHover ()
 
void OnInnerButtonLeave ()
 
void EnableTextAnimations (bool enable)
 Apply behavior on all potentially longer entry text.
 
void HandleTextAnimation (SCR_HorizontalScrollAnimationComponent anim, bool enable)
 Handle animation enabled-disabling enable = false restarts positions.
 
void UpdateModularButtons ()
 
void OpacityAnimation (int time, float opacityEnd)
 

Protected Attributes

ref SCR_ValidateRepairLineWidgets m_Widgets = new SCR_ValidateRepairLineWidgets()
 
ref map< SCR_EAddonValidateState, ref SCR_AddonLineValidateStatem_mVisualStates
 
ref map< int, string > m_mErrorMessages
 
ref SCR_WorkshopItem m_Item
 
SCR_BackendImageComponent m_BackendImageComponent
 
bool m_bIsAddonEnabled
 
bool m_bIsInitialized
 
bool m_bIsReSubscribing
 
bool m_bUpdatingContinuously
 
bool m_bChangedState
 
float m_fCurrentProgress
 
SCR_EAddonValidateState m_eCurrentState
 
string m_sDownloadText
 
ref BackendCallback m_Callback
 
ref SCR_WorkshopDownloadSequence m_DownloadRequest
 
ref ScriptInvokerScriptedWidgetComponent m_OnValidateStart
 
ref ScriptInvokerScriptedWidgetComponent m_OnValidateEnd
 
ref ScriptInvokerScriptedWidgetComponent m_OnRepairStart
 
ref ScriptInvokerScriptedWidgetComponent m_OnRepairEnd
 
ref ScriptInvokerScriptedWidgetComponent m_OnDownloadStart
 
ref ScriptInvokerScriptedWidgetComponent m_OnDownloadEnd
 
- Protected Attributes inherited from SCR_ListMenuEntryComponent
ref array< ref SCR_HorizontalScrollAnimationComponentm_aScrollAnimations = {}
 
bool m_bInnerButtonInteraction
 
ref array< SCR_ModularButtonComponentm_aMouseButtons = {}
 
SCR_ModularButtonComponent m_MainModularButton
 
bool m_bUnavailable
 
bool m_bFocused
 
SCR_ScriptedWidgetTooltip m_CurrentTooltip
 
ref ScriptInvokerString m_OnMouseInteractionButtonClicked
 
ref ScriptInvokerScriptedWidgetComponent m_OnFocus
 
ref ScriptInvokerScriptedWidgetComponent m_OnFocusLost
 
ref ScriptInvokerScriptedWidgetComponent m_OnMouseEnter
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const int REFRESH_DELAY = 1000
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ ContinuousUpdate()

void SCR_AddonLineValidateRepairComponent.ContinuousUpdate ( )
protected

◆ FinishedUpdating()

void SCR_AddonLineValidateRepairComponent.FinishedUpdating ( )
protected

◆ GetOnRepairEnd()

ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.GetOnRepairEnd ( )

◆ GetOnRepairStart()

ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.GetOnRepairStart ( )

◆ GetOnValidateEnd()

ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.GetOnValidateEnd ( )

◆ GetOnValidateStart()

ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.GetOnValidateStart ( )

◆ GetWorkshopItem()

SCR_WorkshopItem SCR_AddonLineValidateRepairComponent.GetWorkshopItem ( )

◆ HandlerAttached()

override void SCR_AddonLineValidateRepairComponent.HandlerAttached ( Widget w)

◆ HandlerDeattached()

override void SCR_AddonLineValidateRepairComponent.HandlerDeattached ( Widget w)

◆ HasFailed()

bool SCR_AddonLineValidateRepairComponent.HasFailed ( )

◆ HasFailedDownloading()

bool SCR_AddonLineValidateRepairComponent.HasFailedDownloading ( )

◆ Init()

void SCR_AddonLineValidateRepairComponent.Init ( notnull SCR_WorkshopItem item,
notnull map< SCR_EAddonValidateState, ref SCR_AddonLineValidateState > states,
notnull map< int, string > errorMessages )

Setup line.

◆ IsBusy()

bool SCR_AddonLineValidateRepairComponent.IsBusy ( )

◆ IsBusyExtended()

bool SCR_AddonLineValidateRepairComponent.IsBusyExtended ( )
protected

◆ NeedUpdating()

bool SCR_AddonLineValidateRepairComponent.NeedUpdating ( )
protected

◆ OnClickAttemptResubscribing()

void SCR_AddonLineValidateRepairComponent.OnClickAttemptResubscribing ( )
protected

◆ OnDownloadError()

void SCR_AddonLineValidateRepairComponent.OnDownloadError ( SCR_DownloadSequence sequence)
protected

◆ OnDownloadFinished()

void SCR_AddonLineValidateRepairComponent.OnDownloadFinished ( )
protected

◆ OnDownloadStart()

void SCR_AddonLineValidateRepairComponent.OnDownloadStart ( SCR_DownloadSequence sequence)
protected

◆ OnFocus()

override bool SCR_AddonLineValidateRepairComponent.OnFocus ( Widget w,
int x,
int y )

◆ OnFocusLost()

override bool SCR_AddonLineValidateRepairComponent.OnFocusLost ( Widget w,
int x,
int y )

◆ OnInputDeviceChange()

void SCR_AddonLineValidateRepairComponent.OnInputDeviceChange ( EInputDeviceType oldDevice,
EInputDeviceType newDevice )
protected

◆ OnRepairingError()

void SCR_AddonLineValidateRepairComponent.OnRepairingError ( )
protected

◆ OnRepairingSuccess()

void SCR_AddonLineValidateRepairComponent.OnRepairingSuccess ( )
protected

◆ OnValidationError()

void SCR_AddonLineValidateRepairComponent.OnValidationError ( )
protected

◆ OnValidationSuccess()

void SCR_AddonLineValidateRepairComponent.OnValidationSuccess ( )
protected

◆ OnWorkshopItemChange()

void SCR_AddonLineValidateRepairComponent.OnWorkshopItemChange ( )
protected

◆ OnWorkshopItemLoaded()

void SCR_AddonLineValidateRepairComponent.OnWorkshopItemLoaded ( )
protected

◆ SetErrorMessage()

void SCR_AddonLineValidateRepairComponent.SetErrorMessage ( int code)
protected

◆ StartCleanDownload()

bool SCR_AddonLineValidateRepairComponent.StartCleanDownload ( )

◆ StartContinuousUpdate()

void SCR_AddonLineValidateRepairComponent.StartContinuousUpdate ( )
protected

◆ StartRepairing()

bool SCR_AddonLineValidateRepairComponent.StartRepairing ( )

◆ StartUpdating()

bool SCR_AddonLineValidateRepairComponent.StartUpdating ( )
protected

◆ StartValidating()

bool SCR_AddonLineValidateRepairComponent.StartValidating ( )

◆ StopContinuousUpdate()

void SCR_AddonLineValidateRepairComponent.StopContinuousUpdate ( bool skipUIUpdate = false)
protected

◆ StopRepairing()

void SCR_AddonLineValidateRepairComponent.StopRepairing ( bool skipUIUpdate = false)

◆ StopValidating()

void SCR_AddonLineValidateRepairComponent.StopValidating ( bool skipUIUpdate = false)

◆ UpdateAllWidgets()

void SCR_AddonLineValidateRepairComponent.UpdateAllWidgets ( )
protected

Update visual state of line.

◆ UpdateDownloadProgressBar()

void SCR_AddonLineValidateRepairComponent.UpdateDownloadProgressBar ( )
protected

◆ UpdateImage()

void SCR_AddonLineValidateRepairComponent.UpdateImage ( )
protected

Member Data Documentation

◆ m_BackendImageComponent

SCR_BackendImageComponent SCR_AddonLineValidateRepairComponent.m_BackendImageComponent
protected

◆ m_bChangedState

bool SCR_AddonLineValidateRepairComponent.m_bChangedState
protected

◆ m_bIsAddonEnabled

bool SCR_AddonLineValidateRepairComponent.m_bIsAddonEnabled
protected

◆ m_bIsInitialized

bool SCR_AddonLineValidateRepairComponent.m_bIsInitialized
protected

◆ m_bIsReSubscribing

bool SCR_AddonLineValidateRepairComponent.m_bIsReSubscribing
protected

◆ m_bUpdatingContinuously

bool SCR_AddonLineValidateRepairComponent.m_bUpdatingContinuously
protected

◆ m_Callback

ref BackendCallback SCR_AddonLineValidateRepairComponent.m_Callback
protected

◆ m_DownloadRequest

ref SCR_WorkshopDownloadSequence SCR_AddonLineValidateRepairComponent.m_DownloadRequest
protected

◆ m_eCurrentState

SCR_EAddonValidateState SCR_AddonLineValidateRepairComponent.m_eCurrentState
protected

◆ m_fCurrentProgress

float SCR_AddonLineValidateRepairComponent.m_fCurrentProgress
protected

◆ m_Item

ref SCR_WorkshopItem SCR_AddonLineValidateRepairComponent.m_Item
protected

◆ m_mErrorMessages

ref map<int, string> SCR_AddonLineValidateRepairComponent.m_mErrorMessages
protected

◆ m_mVisualStates

ref map<SCR_EAddonValidateState, ref SCR_AddonLineValidateState> SCR_AddonLineValidateRepairComponent.m_mVisualStates
protected

◆ m_OnDownloadEnd

ref ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.m_OnDownloadEnd
protected

◆ m_OnDownloadStart

ref ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.m_OnDownloadStart
protected

◆ m_OnRepairEnd

ref ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.m_OnRepairEnd
protected

◆ m_OnRepairStart

ref ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.m_OnRepairStart
protected

◆ m_OnValidateEnd

ref ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.m_OnValidateEnd
protected

◆ m_OnValidateStart

ref ScriptInvokerScriptedWidgetComponent SCR_AddonLineValidateRepairComponent.m_OnValidateStart
protected

◆ m_sDownloadText

string SCR_AddonLineValidateRepairComponent.m_sDownloadText
protected

◆ m_Widgets

ref SCR_ValidateRepairLineWidgets SCR_AddonLineValidateRepairComponent.m_Widgets = new SCR_ValidateRepairLineWidgets()
protected

◆ REFRESH_DELAY

const int SCR_AddonLineValidateRepairComponent.REFRESH_DELAY = 1000
staticprotected

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