DayZ 1.24
Loading...
Searching...
No Matches
StatsEventData Class Reference
Collaboration diagram for StatsEventData:
[legend]

Private Member Functions

void StatsEventData (string eventName)
 
void AddBool (string key, bool value)
 
void AddInt (string key, int value)
 
void AddFloat (string key, float value)
 
void AddString (string key, string value)
 
void AddVector (string key, vector value)
 

Private Attributes

string m_eventName
 
autoptr map< string, intm_valuesBool
 
autoptr map< string, intm_valuesInt
 
autoptr map< string, floatm_valuesFloat
 
autoptr map< string, stringm_valuesString
 
autoptr map< string, vectorm_valuesVector
 

Detailed Description

Definition at line 76 of file ScriptAnalytics.c.

Constructor & Destructor Documentation

◆ StatsEventData()

void StatsEventData::StatsEventData ( string eventName)
inlineprivate

Definition at line 78 of file ScriptAnalytics.c.

79 {
86 }
autoptr map< string, int > m_valuesBool
autoptr map< string, int > m_valuesInt
autoptr map< string, vector > m_valuesVector
autoptr map< string, float > m_valuesFloat
autoptr map< string, string > m_valuesString

References m_eventName, m_valuesBool, m_valuesFloat, m_valuesInt, m_valuesString, and m_valuesVector.

Member Function Documentation

◆ AddBool()

void StatsEventData::AddBool ( string key,
bool value )
inlineprivate

Definition at line 88 of file ScriptAnalytics.c.

89 {
90 m_valuesBool.Insert(key, (int)value);
91 }

References m_valuesBool.

◆ AddFloat()

void StatsEventData::AddFloat ( string key,
float value )
inlineprivate

Definition at line 98 of file ScriptAnalytics.c.

99 {
100 m_valuesFloat.Insert(key, value);
101 }

References m_valuesFloat.

◆ AddInt()

void StatsEventData::AddInt ( string key,
int value )
inlineprivate

Definition at line 93 of file ScriptAnalytics.c.

94 {
95 m_valuesInt.Insert(key, value);
96 }

References m_valuesInt.

◆ AddString()

void StatsEventData::AddString ( string key,
string value )
inlineprivate

Definition at line 103 of file ScriptAnalytics.c.

104 {
105 m_valuesString.Insert(key, value);
106 }

References m_valuesString.

◆ AddVector()

void StatsEventData::AddVector ( string key,
vector value )
inlineprivate

Definition at line 108 of file ScriptAnalytics.c.

109 {
110 m_valuesVector.Insert(key, value);
111 }

References m_valuesVector.

Member Data Documentation

◆ m_eventName

string StatsEventData::m_eventName
private

Definition at line 113 of file ScriptAnalytics.c.

Referenced by StatsEventData().

◆ m_valuesBool

autoptr map<string, int> StatsEventData::m_valuesBool
private

Definition at line 114 of file ScriptAnalytics.c.

Referenced by AddBool(), and StatsEventData().

◆ m_valuesFloat

autoptr map<string, float> StatsEventData::m_valuesFloat
private

Definition at line 116 of file ScriptAnalytics.c.

Referenced by AddFloat(), and StatsEventData().

◆ m_valuesInt

autoptr map<string, int> StatsEventData::m_valuesInt
private

Definition at line 115 of file ScriptAnalytics.c.

Referenced by AddInt(), and StatsEventData().

◆ m_valuesString

autoptr map<string, string> StatsEventData::m_valuesString
private

Definition at line 117 of file ScriptAnalytics.c.

Referenced by AddString(), and StatsEventData().

◆ m_valuesVector

autoptr map<string, vector> StatsEventData::m_valuesVector
private

Definition at line 118 of file ScriptAnalytics.c.

Referenced by AddVector(), and StatsEventData().


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