SCR_ModHandlerLib Class.  
 More...
 | 
| 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 () | 
|   | 
SCR_ModHandlerLib Class. 
Contains script functions for in game mod handling Used in Workshop and Server browser for mods state checking 
 
◆ 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()
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:
- Game/Global/SCR_ModsHandlerLib.c