Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
scriptanalytics.c File Reference

Go to the source code of this file.

Data Structures

class  Analytics
class  StatsEventData
class  StatsEventDeathData
class  StatsEventDisconnectedData
class  StatsEventMeasuresData
class  StatsEventScoredKillData
class  StatsEventSpawnedData

Functions

void AddBool (string key, bool value)
void AddFloat (string key, float value)
void AddInt (string key, int value)
void AddString (string key, string value)
void AddVector (string key, vector value)
static proto native void SendEvent (StatsEventData data)
 universal analytics event
class StatsEventData SendPlayerDeath (StatsEventDeathData data)
 send event about death to statistic DB
static proto native void SendPlayerDisconnected (StatsEventDisconnectedData data)
 send event to statistic DB
static proto native void SendPlayerMeasures (StatsEventMeasuresData data)
 send event about player status to statistic DB
static proto native void SendPlayerScoredKill (StatsEventScoredKillData data)
 send event about kill to statistic DB
static proto native void SendPlayerSpawned (StatsEventSpawnedData data)
 send event about spawning to statistic DB
void StatsEventData (string eventName)

Variables

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

Function Documentation

◆ AddBool()

void AddBool ( string key,
bool value )

Definition at line 10 of file scriptanalytics.c.

◆ AddFloat()

void AddFloat ( string key,
float value )

Definition at line 20 of file scriptanalytics.c.

◆ AddInt()

void AddInt ( string key,
int value )

Definition at line 15 of file scriptanalytics.c.

◆ AddString()

void AddString ( string key,
string value )

Definition at line 25 of file scriptanalytics.c.

◆ AddVector()

void AddVector ( string key,
vector value )

Definition at line 30 of file scriptanalytics.c.

◆ SendEvent()

proto native void SendEvent ( StatsEventData data)
static

universal analytics event

Referenced by OnEnd(), and OnTick().

◆ SendPlayerDeath()

class StatsEventData SendPlayerDeath ( StatsEventDeathData data)

send event about death to statistic DB

◆ SendPlayerDisconnected()

proto native void SendPlayerDisconnected ( StatsEventDisconnectedData data)
static

send event to statistic DB

◆ SendPlayerMeasures()

proto native void SendPlayerMeasures ( StatsEventMeasuresData data)
static

send event about player status to statistic DB

◆ SendPlayerScoredKill()

proto native void SendPlayerScoredKill ( StatsEventScoredKillData data)
static

send event about kill to statistic DB

◆ SendPlayerSpawned()

proto native void SendPlayerSpawned ( StatsEventSpawnedData data)
static

send event about spawning to statistic DB

◆ StatsEventData()

void StatsEventData ( string eventName)

Definition at line 0 of file scriptanalytics.c.

Variable Documentation

◆ m_eventName

string m_eventName
private

Definition at line 35 of file scriptanalytics.c.

◆ m_valuesBool

autoptr map<string, int> m_valuesBool
private

Definition at line 36 of file scriptanalytics.c.

◆ m_valuesFloat

autoptr map<string, float> m_valuesFloat
private

Definition at line 38 of file scriptanalytics.c.

◆ m_valuesInt

autoptr map<string, int> m_valuesInt
private

Definition at line 37 of file scriptanalytics.c.

◆ m_valuesString

autoptr map<string, string> m_valuesString
private

Definition at line 39 of file scriptanalytics.c.

◆ m_valuesVector

autoptr map<string, vector> m_valuesVector
private

Definition at line 40 of file scriptanalytics.c.