150 ScriptAnalytics.SendPlayerDeath(data);
156 ScriptAnalytics.SendPlayerScoredKill(data);
162 ScriptAnalytics.SendPlayerDisconnected(data);
168 ScriptAnalytics.SendPlayerMeasures(data);
174 ScriptAnalytics.SendPlayerSpawned(data);
static proto native void SendEvent(StatsEventData data)
universal analytics event
static proto native void SendPlayerScoredKill(StatsEventScoredKillData data)
send event about kill to statistic DB
static proto native void SendPlayerMeasures(StatsEventMeasuresData data)
send event about player status to statistic DB
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 SendPlayerSpawned(StatsEventSpawnedData data)
send event about spawning to statistic DB
static void PlayerDisconnected(StatsEventDisconnectedData data)
static void PlayerSpawned(StatsEventSpawnedData data)
static void PlayerScoredKill(StatsEventScoredKillData data)
static void PlayerDeath(StatsEventDeathData data)
static void PlayerMeasures(StatsEventMeasuresData data)
void AddBool(string key, bool value)
private string m_eventName
private autoptr map< string, int > m_valuesBool
private autoptr map< string, int > m_valuesInt
void AddString(string key, string value)
void AddVector(string key, vector value)
private autoptr map< string, string > m_valuesString
private autoptr map< string, float > m_valuesFloat
void AddFloat(string key, float value)
void StatsEventData(string eventName)
private autoptr map< string, vector > m_valuesVector
void AddInt(string key, int value)
int m_ListDamages[5]
list of damages (5 values) during last n sec. For example: {20, 80, 0, 0, 0}
vector m_Position
position of player when died
int m_CharacterLifetime
lifetime of character in seconds
string m_Cause
cause of death (hunger, sickness, player-killed, zombie-killed...)
float m_Distance
distance in meters (rounded) from spawn position to death position
string m_CharacterId
character ID
string m_WeaponName
name of weapon which caused death
string m_CharacterId
character ID
string m_Reason
reason of disconnect (quit, kick, ban, sign-out...)
int m_CntLootAny
count of any loot collected during interval
int m_HealthRestored
number of health point restored during interval
int m_DaytimeHour
current daytime in gameplay (hour in 24h format)
float m_TimeVONOut
amount of time in seconds with outbound VON during interval
vector m_PositionEnd
player world position at the end of interval
int m_TimeInterval
amount of real time in seconds covered by this event
int m_CntConsumedFood
count of consumed food during interval
int m_TemperatureStatus
state of temperature (current state)
int m_CntLootFirearm
count of firearms collected during interval
int m_CntLootCloth
count of cloth collected during interval
int m_CntLootAmmo
count of ammo collected during interval
int m_CntLootFood
count of any food or consumables collected during interval
float m_TimeVONIn
amount of time in seconds with inbound VON during interval
int m_CntCraftedItem
number of items crafted during interval
float m_DistanceVehicle
traveled distance (meters) in vehicle during interval
vector m_PositionStart
player world position at the start of interval
float m_DistanceOnFoot
traveled distance on foot (meters) during interval
int m_HealthStatus
state of health (current state)
int m_SicknessStatus
state of sickness (current state)
int m_HydrationStatus
state of hydration (thirst) (current state)
int m_BloodStatus
state of blood (current state)
int m_FoodStatus
state of food (hunger) (current state)
int m_CntKillInfected
count of infected kills during interval
string m_CharacterId
character ID
int m_CntConsumedWater
count of consumed water during interval
int m_CntFiredAmmo
firearm rounds fired during interval
string m_CharacterId
character ID
vector m_PositionVictim
position of victim
vector m_PositionKiller
position of killer
int m_KillDistance
distance in meters (rounded) between killer and victim
string m_WeaponName
name of weapon which killed player (victim)
int m_DaytimeHour
current time in hour (hour in 24h)
int m_Population
population of current gameplay (server)
vector m_Position
position of spawn
string m_CharacterId
character ID
int m_Lifetime
lifetime of character in seconds