Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AnalyticsPlayerSupplySpendingData Class Reference

Protected Member Functions

int GetAggregateSupplyCost ()
map< string, intGetItemSupplyCosts ()
void AddItemSupplyCost (string itemName, int cost)

Protected Attributes

ref map< string, intm_mItemSupplyCosts = new map<string, int>()

Detailed Description

Definition at line 1 of file SCR_AnalyticsPlayerSupplySpendingData.c.

Member Function Documentation

◆ AddItemSupplyCost()

void SCR_AnalyticsPlayerSupplySpendingData::AddItemSupplyCost ( string itemName,
int cost )
inlineprotected

Adds new item type and it's cost to the list If item is already in the list, adds current cost to the already saved cost

Parameters
[in]itemName
[in]cost

Definition at line 28 of file SCR_AnalyticsPlayerSupplySpendingData.c.

◆ GetAggregateSupplyCost()

int SCR_AnalyticsPlayerSupplySpendingData::GetAggregateSupplyCost ( )
inlineprotected

Definition at line 6 of file SCR_AnalyticsPlayerSupplySpendingData.c.

◆ GetItemSupplyCosts()

map< string, int > SCR_AnalyticsPlayerSupplySpendingData::GetItemSupplyCosts ( )
inlineprotected

Definition at line 18 of file SCR_AnalyticsPlayerSupplySpendingData.c.

Member Data Documentation

◆ m_mItemSupplyCosts

ref map<string, int> SCR_AnalyticsPlayerSupplySpendingData::m_mItemSupplyCosts = new map<string, int>()
protected

Definition at line 3 of file SCR_AnalyticsPlayerSupplySpendingData.c.


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