Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AnalyticsDataCollectionHelper Interface Reference

Static Public Member Functions

static string GetEntityPrefabName (notnull IEntity entity)
 To get the name of prefab of entity without the whole path in ResourceName.
 
static int GetEntitySupplyCost (IEntity entity)
 To calculate the supply cost of requested entity Evaluates only the cost from CAMPAIGN budget.
 
static string GetShortEntityPrefabName (string entityPrefabName)
 To get shortened prefab name without the whole path.
 
static string GetShortDataArray (string dataArray)
 To get shortened string made from data array.
 
static string GetShortModuleName (string moduleName)
 To get shortened name of Analytics Data Collection Module.
 

Member Function Documentation

◆ GetEntityPrefabName()

static string SCR_AnalyticsDataCollectionHelper.GetEntityPrefabName ( notnull IEntity entity)
static

To get the name of prefab of entity without the whole path in ResourceName.

Parameters
[in]entity
Returns
string entity prefab name

◆ GetEntitySupplyCost()

static int SCR_AnalyticsDataCollectionHelper.GetEntitySupplyCost ( IEntity entity)
static

To calculate the supply cost of requested entity Evaluates only the cost from CAMPAIGN budget.

Parameters
[in]entity
Returns
int supply cost

◆ GetShortDataArray()

static string SCR_AnalyticsDataCollectionHelper.GetShortDataArray ( string dataArray)
static

To get shortened string made from data array.

Parameters
[in]dataArray
Returns
string short dataArray

◆ GetShortEntityPrefabName()

static string SCR_AnalyticsDataCollectionHelper.GetShortEntityPrefabName ( string entityPrefabName)
static

To get shortened prefab name without the whole path.

Parameters
[in]entityPrefabName
Returns
string short entity prefab name

◆ GetShortModuleName()

static string SCR_AnalyticsDataCollectionHelper.GetShortModuleName ( string moduleName)
static

To get shortened name of Analytics Data Collection Module.

Parameters
[in]moduleName
Returns
string short module name

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