Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_NearbyContextCachingConfig.c File Reference

Go to the source code of this file.

Classes

class  SCR_NearbyContextCachingConfig
class  SCR_NearbyContextTitle

Functions

class SCR_NearbyContextCachingConfig BaseContainerProps ()
void GetCachedLayouts (out array< SCR_NearbyContextCachingData > cachedLayouts)
SCR_NearbyContextCachingData GetDataFromLayout (ResourceName layout)
class SCR_NearbyContextCachingConfig SCR_NearbyContextTitle ()] class SCR_NearbyContextCachingData

Variables

ref array< ref SCR_NearbyContextCachingData > m_aCachedWidgets

Function Documentation

◆ BaseContainerProps()

class SCR_NearbyContextCachingConfig BaseContainerProps ( )

◆ GetCachedLayouts()

void BaseContainerProps::GetCachedLayouts ( out array< SCR_NearbyContextCachingData > cachedLayouts)
protected

Get all the layouts defined in config that should be precached

Parameters
[out]Array<SCR_NearbyContextCachingData>all layouts that are defined

Definition at line 6 of file SCR_NearbyContextCachingConfig.c.

◆ GetDataFromLayout()

SCR_NearbyContextCachingData BaseContainerProps::GetDataFromLayout ( ResourceName layout)
protected

Get the data that hold the amount of Widgets to precache and the max cache amount

Parameters
[in]stringlayout defined in array entry, the data is needed from
Returns
SCR_NearbyContextCachingData data containing the precache and max cache amount

Definition at line 19 of file SCR_NearbyContextCachingConfig.c.

◆ SCR_NearbyContextTitle()

class SCR_NearbyContextCachingConfig SCR_NearbyContextTitle ( )

Get defined layout

Parameters
[out]stringdefined layout

Get the precache amount

Parameters
[out]int- amount of Widgets to precache on Init

Get the maximum amount of cached Widgets If more widgets are cached then defined, the rest will be deleted again when they are not used anymore

Parameters
[out]intMax amount of Cached Widgets

Definition at line 42 of file SCR_NearbyContextCachingConfig.c.

Variable Documentation

◆ m_aCachedWidgets

ref array<ref SCR_NearbyContextCachingData> m_aCachedWidgets
protected

Definition at line 1 of file SCR_NearbyContextCachingConfig.c.