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

Go to the source code of this file.

Classes

class  SCR_CacheManagerComponentClass

Functions

SCR_CacheManagerComponentClass SCR_BaseGameModeComponentClass Attribute (uiwidget:UIWidgets.ResourcePickerThumbnail, category:"Cache Config", desc:"Prefab to spawn at cache locations (e.g. AmmoBox)", params:"et")] protected ResourceName m_sCachePrefab
override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnGameModeStart ()
void SpawnRandomCaches (int count)
void GetRandomCacheData (out notnull array< string > outLines)

Variables

int m_iAmount
ResourceName m_sTerrainConfig
ref array< ref SCR_CacheLocationDatam_aCachePool = {}
ref SCR_CacheTerrainConfig m_TerrainConfig
ref array< stringm_aActiveCacheHints = {}

Function Documentation

◆ Attribute()

SCR_CacheManagerComponentClass SCR_BaseGameModeComponentClass Attribute ( uiwidget:UIWidgets. ResourcePickerThumbnail,
category:"Cache Config" ,
desc:"Prefab to spawn at cache locations (e.g. AmmoBox)" ,
params:"et"  )

◆ GetRandomCacheData()

void GetRandomCacheData ( out notnull array< string > outLines)
protected
Parameters
[out]outLines

Definition at line 140 of file SCR_CacheManagerComponent.c.

◆ OnGameModeStart()

override void OnGameModeStart ( )
protected

Called on every machine when game mode starts. This can be immediate (if no pre-game period is set) or can happen after a certain delay, as deemed appropriate by the authority.

Definition at line 36 of file SCR_CacheManagerComponent.c.

◆ SpawnRandomCaches()

void SpawnRandomCaches ( int count)
protected

Definition at line 56 of file SCR_CacheManagerComponent.c.

Variable Documentation

◆ m_aActiveCacheHints

ref array<string> m_aActiveCacheHints = {}
protected

Definition at line 18 of file SCR_CacheManagerComponent.c.

◆ m_aCachePool

ref array<ref SCR_CacheLocationData> m_aCachePool = {}
protected

Definition at line 15 of file SCR_CacheManagerComponent.c.

◆ m_iAmount

int m_iAmount

Definition at line 10 of file SCR_CacheManagerComponent.c.

◆ m_sTerrainConfig

ResourceName m_sTerrainConfig
protected

Definition at line 13 of file SCR_CacheManagerComponent.c.

◆ m_TerrainConfig

ref SCR_CacheTerrainConfig m_TerrainConfig
protected

Definition at line 16 of file SCR_CacheManagerComponent.c.