Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_DownloadSequence Interface Reference
Inheritance diagram for SCR_DownloadSequence:
[legend]

Public Member Functions

ScriptInvokerBase< ScriptInvoker_DownloadSequenceDependencies > GetOnRestrictedDependency ()
 
ScriptInvokerBase< ScriptInvoker_DownloadSequenceDependencies > GetOnDependenciesLoadingPrevented ()
 
ScriptInvokerBase< ScriptInvoker_DownloadSequence > GetOnError ()
 
ScriptInvokerBase< ScriptInvoker_DownloadSequence > GetOnReady ()
 
ScriptInvokerBase< ScriptInvoker_DownloadSequence > GetOnCancel ()
 
void Init ()
 
SCR_ReportedAddonsDialog ShowRestrictedDependenciesDialog ()
 Show dialog with list of resctricted In dialog is possible to cancel reports

 
void Cancel ()
 Cancels this download request.
 
void OnAllReportsCanceled (SCR_ReportedAddonsDialog dialog)
 Call when all reports from dialog are cancled to clear invoker actions and display download dialog.
 
bool GetRestrictedAddons ()
 
bool GetBlockedAddons ()
 
void ~SCR_DownloadSequence ()
 

Static Public Member Functions

static SCR_DownloadSequence Create (array< ref SCR_WorkshopItem > dependencies, SCR_DownloadSequence previous, bool skipDetails=false)
 

Protected Member Functions

void Setup (notnull array< ref SCR_WorkshopItem > dependencies, bool skipDetails)
 Setup new created download sequence.
 
bool HasAllDetails ()
 Returns true if all details were loaded successfully.
 
void LoadDependenciesDetails ()
 
void OnAllDependenciesDetailsLoaded ()
 Called when finally all the details of all dependencies are loaded.
 
array< ref SCR_WorkshopItemMissingWorkshopItems ()
 
void AllPatchSizeLoaded ()
 
void OnDependencyDetailsLoaded (notnull SCR_WorkshopItem item)
 Call when dependency details are successfully loaded.
 
void OnDependencyPatchSizeLoadResponse (SCR_BackendCallbackWorkshopItem callback)
 Call on any response to dependency patch size.
 
void SetDependencySize (SCR_WorkshopItem item, float size)
 
void CheckAllPatchSizeLoaded ()
 
void OnItemError (SCR_WorkshopItem item)
 
void OnItemTimeout (SCR_WorkshopItem item)
 

Protected Attributes

bool m_bSubscribeToAddons
 
ref array< ref SCR_WorkshopItemm_aDependencies = {}
 
bool m_bWaitingResponse
 
bool m_bCanceled
 
bool m_bFailed
 
bool m_bRestrictedAddons
 
bool m_bBlockedAddons
 
bool m_bPatchSizeLoaded
 
bool m_bSkipDetails
 
int m_iDependencyDetailsLoadedCount = 0
 
bool m_bAllDependencyDetailsLoaded
 
int m_iPatchesLoaded = 0
 
ref array< ref SCR_BackendCallbackWorkshopItemm_aPatchSizeCallbacks = {}
 
ref array< ref SCR_WorkshopItemm_aDependenciesIssues = {}
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequence > m_OnInit
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequence > m_OnDetailsLoaded
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequence > m_OnDependenciesLoaded
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequenceDependencies > m_OnRestrictedDependencies
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequenceDependencies > m_OnDependenciesLoadingPrevented
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequence > m_OnError
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequence > m_OnReady
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequence > m_OnCancel
 
ref ScriptInvokerBase< ScriptInvoker_DownloadSequence > m_OnDestroyed
 

Constructor & Destructor Documentation

◆ ~SCR_DownloadSequence()

void SCR_DownloadSequence.~SCR_DownloadSequence ( )

Member Function Documentation

◆ AllPatchSizeLoaded()

void SCR_DownloadSequence.AllPatchSizeLoaded ( )
protected

◆ Cancel()

void SCR_DownloadSequence.Cancel ( )

Cancels this download request.

◆ CheckAllPatchSizeLoaded()

void SCR_DownloadSequence.CheckAllPatchSizeLoaded ( )
protected

◆ Create()

static SCR_DownloadSequence SCR_DownloadSequence.Create ( array< ref SCR_WorkshopItem dependencies,
SCR_DownloadSequence  previous,
bool  skipDetails = false 
)
static

◆ GetBlockedAddons()

bool SCR_DownloadSequence.GetBlockedAddons ( )

◆ GetOnCancel()

ScriptInvokerBase< ScriptInvoker_DownloadSequence > SCR_DownloadSequence.GetOnCancel ( )

◆ GetOnDependenciesLoadingPrevented()

ScriptInvokerBase< ScriptInvoker_DownloadSequenceDependencies > SCR_DownloadSequence.GetOnDependenciesLoadingPrevented ( )

◆ GetOnError()

ScriptInvokerBase< ScriptInvoker_DownloadSequence > SCR_DownloadSequence.GetOnError ( )

◆ GetOnReady()

ScriptInvokerBase< ScriptInvoker_DownloadSequence > SCR_DownloadSequence.GetOnReady ( )

◆ GetOnRestrictedDependency()

ScriptInvokerBase< ScriptInvoker_DownloadSequenceDependencies > SCR_DownloadSequence.GetOnRestrictedDependency ( )

◆ GetRestrictedAddons()

bool SCR_DownloadSequence.GetRestrictedAddons ( )

◆ HasAllDetails()

bool SCR_DownloadSequence.HasAllDetails ( )
protected

Returns true if all details were loaded successfully.

◆ Init()

void SCR_DownloadSequence.Init ( )

◆ LoadDependenciesDetails()

void SCR_DownloadSequence.LoadDependenciesDetails ( )
protected

◆ MissingWorkshopItems()

array< ref SCR_WorkshopItem > SCR_DownloadSequence.MissingWorkshopItems ( )
protected

◆ OnAllDependenciesDetailsLoaded()

void SCR_DownloadSequence.OnAllDependenciesDetailsLoaded ( )
protected

Called when finally all the details of all dependencies are loaded.

Implemented in SCR_WorkshopDownloadSequence.

◆ OnAllReportsCanceled()

void SCR_DownloadSequence.OnAllReportsCanceled ( SCR_ReportedAddonsDialog  dialog)

Call when all reports from dialog are cancled to clear invoker actions and display download dialog.

◆ OnDependencyDetailsLoaded()

void SCR_DownloadSequence.OnDependencyDetailsLoaded ( notnull SCR_WorkshopItem  item)
protected

Call when dependency details are successfully loaded.

◆ OnDependencyPatchSizeLoadResponse()

void SCR_DownloadSequence.OnDependencyPatchSizeLoadResponse ( SCR_BackendCallbackWorkshopItem  callback)
protected

Call on any response to dependency patch size.

◆ OnItemError()

void SCR_DownloadSequence.OnItemError ( SCR_WorkshopItem  item)
protected

◆ OnItemTimeout()

void SCR_DownloadSequence.OnItemTimeout ( SCR_WorkshopItem  item)
protected

◆ SetDependencySize()

void SCR_DownloadSequence.SetDependencySize ( SCR_WorkshopItem  item,
float  size 
)
protected

◆ Setup()

void SCR_DownloadSequence.Setup ( notnull array< ref SCR_WorkshopItem dependencies,
bool  skipDetails 
)
protected

Setup new created download sequence.

◆ ShowRestrictedDependenciesDialog()

SCR_ReportedAddonsDialog SCR_DownloadSequence.ShowRestrictedDependenciesDialog ( )

Show dialog with list of resctricted In dialog is possible to cancel reports

Member Data Documentation

◆ m_aDependencies

ref array<ref SCR_WorkshopItem> SCR_DownloadSequence.m_aDependencies = {}
protected

◆ m_aDependenciesIssues

ref array<ref SCR_WorkshopItem> SCR_DownloadSequence.m_aDependenciesIssues = {}
protected

◆ m_aPatchSizeCallbacks

ref array<ref SCR_BackendCallbackWorkshopItem> SCR_DownloadSequence.m_aPatchSizeCallbacks = {}
protected

◆ m_bAllDependencyDetailsLoaded

bool SCR_DownloadSequence.m_bAllDependencyDetailsLoaded
protected

◆ m_bBlockedAddons

bool SCR_DownloadSequence.m_bBlockedAddons
protected

◆ m_bCanceled

bool SCR_DownloadSequence.m_bCanceled
protected

◆ m_bFailed

bool SCR_DownloadSequence.m_bFailed
protected

◆ m_bPatchSizeLoaded

bool SCR_DownloadSequence.m_bPatchSizeLoaded
protected

◆ m_bRestrictedAddons

bool SCR_DownloadSequence.m_bRestrictedAddons
protected

◆ m_bSkipDetails

bool SCR_DownloadSequence.m_bSkipDetails
protected

◆ m_bSubscribeToAddons

bool SCR_DownloadSequence.m_bSubscribeToAddons
protected

◆ m_bWaitingResponse

bool SCR_DownloadSequence.m_bWaitingResponse
protected

◆ m_iDependencyDetailsLoadedCount

int SCR_DownloadSequence.m_iDependencyDetailsLoadedCount = 0
protected

◆ m_iPatchesLoaded

int SCR_DownloadSequence.m_iPatchesLoaded = 0
protected

◆ m_OnCancel

ref ScriptInvokerBase<ScriptInvoker_DownloadSequence> SCR_DownloadSequence.m_OnCancel
protected

◆ m_OnDependenciesLoaded

ref ScriptInvokerBase<ScriptInvoker_DownloadSequence> SCR_DownloadSequence.m_OnDependenciesLoaded
protected

◆ m_OnDependenciesLoadingPrevented

ref ScriptInvokerBase<ScriptInvoker_DownloadSequenceDependencies> SCR_DownloadSequence.m_OnDependenciesLoadingPrevented
protected

◆ m_OnDestroyed

ref ScriptInvokerBase<ScriptInvoker_DownloadSequence> SCR_DownloadSequence.m_OnDestroyed
protected

◆ m_OnDetailsLoaded

ref ScriptInvokerBase<ScriptInvoker_DownloadSequence> SCR_DownloadSequence.m_OnDetailsLoaded
protected

◆ m_OnError

ref ScriptInvokerBase<ScriptInvoker_DownloadSequence> SCR_DownloadSequence.m_OnError
protected

◆ m_OnInit

ref ScriptInvokerBase<ScriptInvoker_DownloadSequence> SCR_DownloadSequence.m_OnInit
protected

◆ m_OnReady

ref ScriptInvokerBase<ScriptInvoker_DownloadSequence> SCR_DownloadSequence.m_OnReady
protected

◆ m_OnRestrictedDependencies

ref ScriptInvokerBase<ScriptInvoker_DownloadSequenceDependencies> SCR_DownloadSequence.m_OnRestrictedDependencies
protected

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