Arma Reforger Script API
Loading...
Searching...
No Matches
Static Public Member Functions | Static Protected Member Functions | List of all members
SCR_ModHandlerLib Interface Reference

SCR_ModHandlerLib Class. More...

Static Public Member Functions

static float GetModListSize (array< Dependency > dependencies)
 Return summary size of dependencies list.
 
static float GetModListSize (array< ref SCR_WorkshopItem > items)
 Return summary size of workshop item list.
 
static bool AllItemsCached (array< Dependency > aDependencies, out array< Dependency > aDepsToLoad)
 Check if all items are cached = if mod info can be read
Return true if is possible to get cached item of each mod Insert Dependency array with dependencies that needs to be loaded

 
static bool AllModsUpdated (array< Dependency > dependencies)
 Return true if all mods are up to date - server can be reached TODO@wernerjak - tweak this for versioning.
 
static void SetupDebug ()
 

Static Protected Member Functions

static bool ItemVersionMatch (SCR_WorkshopItem item)
 Compare current client version with required version Return true if those version match.
 

Detailed Description

SCR_ModHandlerLib Class.

Contains script functions for in game mod handling Used in Workshop and Server browser for mods state checking

Member Function Documentation

◆ AllItemsCached()

static bool SCR_ModHandlerLib.AllItemsCached ( array< Dependency >  aDependencies,
out array< Dependency >  aDepsToLoad 
)
static

Check if all items are cached = if mod info can be read
Return true if is possible to get cached item of each mod Insert Dependency array with dependencies that needs to be loaded

◆ AllModsUpdated()

static bool SCR_ModHandlerLib.AllModsUpdated ( array< Dependency >  dependencies)
static

Return true if all mods are up to date - server can be reached TODO@wernerjak - tweak this for versioning.

◆ GetModListSize() [1/2]

static float SCR_ModHandlerLib.GetModListSize ( array< Dependency >  dependencies)
static

Return summary size of dependencies list.

◆ GetModListSize() [2/2]

static float SCR_ModHandlerLib.GetModListSize ( array< ref SCR_WorkshopItem items)
static

Return summary size of workshop item list.

◆ ItemVersionMatch()

static bool SCR_ModHandlerLib.ItemVersionMatch ( SCR_WorkshopItem  item)
staticprotected

Compare current client version with required version Return true if those version match.

◆ SetupDebug()

static void SCR_ModHandlerLib.SetupDebug ( )
static

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