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

Public Member Functions

int GetAggregateSupplyCost ()
 
map< string, int > GetItemSupplyCosts ()
 
void AddItemSupplyCost (string itemName, int cost)
 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.
 

Protected Attributes

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

Member Function Documentation

◆ AddItemSupplyCost()

void SCR_AnalyticsPlayerSupplySpendingData.AddItemSupplyCost ( string itemName,
int cost )

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

◆ GetAggregateSupplyCost()

int SCR_AnalyticsPlayerSupplySpendingData.GetAggregateSupplyCost ( )

◆ GetItemSupplyCosts()

map< string, int > SCR_AnalyticsPlayerSupplySpendingData.GetItemSupplyCosts ( )

Member Data Documentation

◆ m_mItemSupplyCosts

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

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