|
Arma Reforger Script API
|
This class will take care of handling all room mods & dependencies Receiveing, sorting, downloading. More...
Public Member Functions | |
| ScriptInvokerRoom | GetOnGetAllDependencies () |
| ScriptInvokerRoom | GetOnGetScenario () |
| ScriptInvokerVoid | GetOnModsFail () |
| ScriptInvokerBase< ScriptInvoker_RoomModsDependencies > | GetOnDependenciesLoadingPrevented () |
| void | Clear () |
| void | ReceiveRoomMods (notnull Room room) |
| Getting all mods for selected room Checkign dependencies and loading workshop items of mods | |
| void | ReceiveRoomScenario (notnull Room room) |
| SCR_ReportedAddonsDialog | DisplayRestrictedAddonsList () |
| Show restricted addons and return true if there are restricted addons in room content. | |
| array< ref SCR_WorkshopItem > | GetCollidingDependencies () |
| string | GetModListSizeString (array< ref SCR_WorkshopItem > items) |
| float | GetModsSize (array< ref SCR_WorkshopItem > items) |
| string | GetModListPatchSizeString (array< ref SCR_WorkshopItem > items) |
| Get size with unit based on pach sizes from addons list. | |
| float | GetModListPatchSize (array< ref SCR_WorkshopItem > items) |
| bool | HasBlockedMods () |
| array< ref SCR_WorkshopItem > | GetRoomItemsScripted () |
| array< ref SCR_WorkshopItem > | GetRoomItemsUpdated () |
| array< ref SCR_WorkshopItem > | GetRoomItemsToUpdate () |
| bool | GetModsMatching () |
Protected Member Functions | |
| void | OnLoadingModsFail (Room room) |
| Invoke mods loading error. | |
| void | UpdatedDependencies (notnull array< ref SCR_WorkshopItem > items) |
| Return only all updated dependecies from dependencies param Save all up to date to give out reference array Save all up missing or outdate to out reference array | |
| void | AllItemsLoaded () |
| void | LoadScenario () |
| Call this when sceario is loaded. | |
| void | OnAllReportsCanceled (SCR_ReportedAddonsDialog dialog) |
| Call when all reports from dialog are cancled to clear invoker actions and display download dialog. | |
| void | OnScenarioModLoaded () |
| Call this when mod containing scenario is loaded | |
| void | OnScenarioDetails () |
| Call this when scenario has got complete info. | |
| void | OnRoomCallbackResponse (SCR_BackendCallbackRoomMods callback) |
| void | OnRoomFullList () |
| Call this when room receive list of all mod dependencies. | |
| void | InitDownloadSequence () |
| void | OnDownloadSequenceReady (SCR_DownloadSequence sequence) |
| void | OnDependenciesLoadingPrevented (SCR_DownloadSequence sequence, array< ref SCR_WorkshopItem > dependencies) |
| Callback when any of depeendencies are preventing loading or donwloading Show dialog to cancel downloads blocking loading details. | |
| void | OnCancelDownloadConfirm (SCR_ConfigurableDialogUi dialog) |
| void | OnCancelDownloadDialogClose (SCR_ConfigurableDialogUi dialog) |
| void | OnDownloadSequenceError (SCR_DownloadSequence sequence) |
| void | OnDownloadSequenceRestrictedAddons (SCR_DownloadSequence sequence, array< ref SCR_WorkshopItem > items) |
Protected Attributes | |
| Room | m_Room |
| Dependency | m_ScenarioDependency |
| ref SCR_DownloadSequence | m_DownloadSequence |
| bool | m_bModsMatching = false |
| bool | m_bBlockedMods |
| ref array< ref SCR_WorkshopItem > | m_aCollidingDependencies = {} |
| ref array< ref SCR_WorkshopItem > | m_aRoomItemsScripted = {} |
| ref array< ref SCR_WorkshopItem > | m_aItemsUpdated = {} |
| ref array< ref SCR_WorkshopItem > | m_aItemsToUpdate = {} |
| ref SCR_BackendCallbackRoomMods | m_ModsCallback |
| ref ScriptInvokerRoom | m_OnGetAllDependencies = new ScriptInvokerRoom() |
| ref ScriptInvokerRoom | m_OnGetScenario = new ScriptInvokerRoom() |
| ref ScriptInvokerVoid | m_OnModsFail |
| ref ScriptInvokerBase< ScriptInvoker_RoomModsDependencies > | m_OnDependenciesLoadingPrevented |
This class will take care of handling all room mods & dependencies Receiveing, sorting, downloading.
|
protected |
| void SCR_RoomModsManager.Clear | ( | ) |
| SCR_ReportedAddonsDialog SCR_RoomModsManager.DisplayRestrictedAddonsList | ( | ) |
Show restricted addons and return true if there are restricted addons in room content.
| array< ref SCR_WorkshopItem > SCR_RoomModsManager.GetCollidingDependencies | ( | ) |
| float SCR_RoomModsManager.GetModListPatchSize | ( | array< ref SCR_WorkshopItem > | items | ) |
| string SCR_RoomModsManager.GetModListPatchSizeString | ( | array< ref SCR_WorkshopItem > | items | ) |
Get size with unit based on pach sizes from addons list.
| string SCR_RoomModsManager.GetModListSizeString | ( | array< ref SCR_WorkshopItem > | items | ) |
| bool SCR_RoomModsManager.GetModsMatching | ( | ) |
| float SCR_RoomModsManager.GetModsSize | ( | array< ref SCR_WorkshopItem > | items | ) |
| ScriptInvokerBase< ScriptInvoker_RoomModsDependencies > SCR_RoomModsManager.GetOnDependenciesLoadingPrevented | ( | ) |
| ScriptInvokerRoom SCR_RoomModsManager.GetOnGetAllDependencies | ( | ) |
| ScriptInvokerRoom SCR_RoomModsManager.GetOnGetScenario | ( | ) |
| ScriptInvokerVoid SCR_RoomModsManager.GetOnModsFail | ( | ) |
| array< ref SCR_WorkshopItem > SCR_RoomModsManager.GetRoomItemsScripted | ( | ) |
| array< ref SCR_WorkshopItem > SCR_RoomModsManager.GetRoomItemsToUpdate | ( | ) |
| array< ref SCR_WorkshopItem > SCR_RoomModsManager.GetRoomItemsUpdated | ( | ) |
| bool SCR_RoomModsManager.HasBlockedMods | ( | ) |
|
protected |
|
protected |
Call this when sceario is loaded.
|
protected |
Call when all reports from dialog are cancled to clear invoker actions and display download dialog.
|
protected |
|
protected |
|
protected |
Callback when any of depeendencies are preventing loading or donwloading Show dialog to cancel downloads blocking loading details.
|
protected |
|
protected |
|
protected |
|
protected |
Invoke mods loading error.
|
protected |
|
protected |
Call this when room receive list of all mod dependencies.
|
protected |
Call this when scenario has got complete info.
|
protected |
Call this when mod containing scenario is loaded
| void SCR_RoomModsManager.ReceiveRoomMods | ( | notnull Room | room | ) |
Getting all mods for selected room Checkign dependencies and loading workshop items of mods
| void SCR_RoomModsManager.ReceiveRoomScenario | ( | notnull Room | room | ) |
|
protected |
Return only all updated dependecies from dependencies param Save all up to date to give out reference array Save all up missing or outdate to out reference array
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |