# Add String Data to Stat Event

Grammar — Add key = value to Stat Event statEvent|Stat Event.
FlagsNative | Action

Blizzard only. Adds the Key-Value pair to the Stat Event.

# Arguments

  • int<preset::StatEvent> — Stat Event
  • string — Key
  • string — Value

Returns — void

native void StatEventAddDataString(
	int statEvent,
	string key,
	string value,
);

Category: Stats

# Examples

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:8085

    TextExpressionSetToken("Param/Expression/lib_VoiC_7C661C09", "B", StringToText(lp_value));
    TriggerDebugOutput(13, TextExpressionAssemble("Param/Expression/lib_VoiC_7C661C09"), false);
    StatEventAddDataString(lp_event, lp_key, lp_value);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2770


    StatEventCreate("Challenge 1");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla DPS");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "1");
    if ((gv__1A_Complete == true)) {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2771

    StatEventCreate("Challenge 1");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla DPS");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "1");
    if ((gv__1A_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2773

    StatEventAddDataString(StatEventLastCreated(), "Stage", "1");
    if ((gv__1A_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");
    }
    else {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2776

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "False");
    }
    if ((gv__1A_CinematicSkipped == true)) {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2779

    }
    if ((gv__1A_CinematicSkipped == true)) {
        StatEventAddDataString(StatEventLastCreated(), "CinematicSkipped", "True");
    }
    else {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2782

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "CinematicSkipped", "False");
    }
    StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1A_PlayTimes);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2787

    StatEventSend(StatEventLastCreated());
    StatEventCreate("Challenge 2");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla Mosh Pit");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "2");
    if ((gv__1C_Complete == true)) {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2788

    StatEventCreate("Challenge 2");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla Mosh Pit");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "2");
    if ((gv__1C_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2790

    StatEventAddDataString(StatEventLastCreated(), "Stage", "2");
    if ((gv__1C_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");
    }
    else {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2793

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "False");
    }
    if ((gv__1C_CinematicSkipped == true)) {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2770


    StatEventCreate("Challenge 1");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla DPS");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "1");
    if ((gv__1A_Complete == true)) {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2771

    StatEventCreate("Challenge 1");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla DPS");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "1");
    if ((gv__1A_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2773

    StatEventAddDataString(StatEventLastCreated(), "Stage", "1");
    if ((gv__1A_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");
    }
    else {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2776

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "False");
    }
    if ((gv__1A_CinematicSkipped == true)) {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2779

    }
    if ((gv__1A_CinematicSkipped == true)) {
        StatEventAddDataString(StatEventLastCreated(), "CinematicSkipped", "True");
    }
    else {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2782

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "CinematicSkipped", "False");
    }
    StatEventAddDataInt(StatEventLastCreated(), "Attempts", gv__1A_PlayTimes);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2787

    StatEventSend(StatEventLastCreated());
    StatEventCreate("Challenge 2");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla Mosh Pit");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "2");
    if ((gv__1C_Complete == true)) {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2788

    StatEventCreate("Challenge 2");
    StatEventAddDataString(StatEventLastCreated(), "Challenge", "Valla Mosh Pit");
    StatEventAddDataString(StatEventLastCreated(), "Stage", "2");
    if ((gv__1C_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2790

    StatEventAddDataString(StatEventLastCreated(), "Stage", "2");
    if ((gv__1C_Complete == true)) {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "True");
    }
    else {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2793

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "Complete", "False");
    }
    if ((gv__1C_CinematicSkipped == true)) {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10630

    autoE3D539F5_val = EventPlayerEffectUsed();
    if (autoE3D539F5_val == "PvEMiniNukeInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Mini Nuke");
    }
    else if (autoE3D539F5_val == "PvEPsiEmitterInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10633

    }
    else if (autoE3D539F5_val == "PvEPsiEmitterInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Psi Emitter");
    }
    else if (autoE3D539F5_val == "PvEReinforcementsInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10636

    }
    else if (autoE3D539F5_val == "PvEReinforcementsInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Reinforcements");
    }
    else if (autoE3D539F5_val == "PvERejuvenationPulseInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10639

    }
    else if (autoE3D539F5_val == "PvERejuvenationPulseInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Rejuvenation Pulse");
    }
    else if (autoE3D539F5_val == "PvETeamStimpackInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10642

    }
    else if (autoE3D539F5_val == "PvETeamStimpackInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Team Stimpack");
    }
    else if (autoE3D539F5_val == "PVESecondChanceInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10645

    }
    else if (autoE3D539F5_val == "PVESecondChanceInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Second Chance");
    }
    else {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:12511

    TriggerEnable(TriggerGetCurrent(), false);
    StatEventCreate("Game Results");
    StatEventAddDataString(StatEventLastCreated(), "Map Name", "Deadman's Stand");
    if ((libPVEM_gf_PvEGameDifficulty() == libPVEM_ge_PvEGameDifficulty_PvEGameDifficulty_Normal)) {
        StatEventAddDataString(StatEventLastCreated(), "Difficulty", "Normal");

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:12513

    StatEventAddDataString(StatEventLastCreated(), "Map Name", "Deadman's Stand");
    if ((libPVEM_gf_PvEGameDifficulty() == libPVEM_ge_PvEGameDifficulty_PvEGameDifficulty_Normal)) {
        StatEventAddDataString(StatEventLastCreated(), "Difficulty", "Normal");
    }
    else {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:12516

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "Difficulty", "Hard");
    }
    if ((libPVEM_gv_pvEGameOverResult == c_gameOverVictory)) {

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:12519

    }
    if ((libPVEM_gv_pvEGameOverResult == c_gameOverVictory)) {
        StatEventAddDataString(StatEventLastCreated(), "Map Complete", "True");
        StatEventAddDataInt(StatEventLastCreated(), "Victory Time", libPEB1_gv_victoryTime);
        StatEventAddDataFixed(StatEventLastCreated(), "Base Integrity", libPEB1_gv_baseHealthPercent);

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:9734

    autoE3D539F5_val = EventPlayerEffectUsed();
    if (autoE3D539F5_val == "PvEMiniNukeInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Mini Nuke");
    }
    else if (autoE3D539F5_val == "PvEPsiEmitterInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:9737

    }
    else if (autoE3D539F5_val == "PvEPsiEmitterInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Psi Emitter");
    }
    else if (autoE3D539F5_val == "PvEReinforcementsInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:9740

    }
    else if (autoE3D539F5_val == "PvEReinforcementsInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Reinforcements");
    }
    else if (autoE3D539F5_val == "PvERejuvenationPulseInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:9743

    }
    else if (autoE3D539F5_val == "PvERejuvenationPulseInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Rejuvenation Pulse");
    }
    else if (autoE3D539F5_val == "PvETeamStimpackInitialSet") {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:9746

    }
    else if (autoE3D539F5_val == "PvETeamStimpackInitialSet") {
        StatEventAddDataString(StatEventLastCreated(), "Pickup Type", "Team Stimpack");
    }
    else {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:11606


    StatEventCreate("Game Results");
    StatEventAddDataString(StatEventLastCreated(), "Map Name", "Escape from Braxis");
    auto509F083C_val = libPVEB_gf_PBGameDifficulty();
    if (auto509F083C_val == libPVEB_ge_PVEGameDifficulty_Hard) {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:11609

    auto509F083C_val = libPVEB_gf_PBGameDifficulty();
    if (auto509F083C_val == libPVEB_ge_PVEGameDifficulty_Hard) {
        StatEventAddDataString(StatEventLastCreated(), "Difficulty", "Hard");
    }
    else {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:11612

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "Difficulty", "Normal");
    }
    if ((libPEB1_gv_stage1CompleteTime != 0)) {

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:11623


    if ((libPEB1_gv_pZECurrentStageCurrent == libPEB1_ge_PZEStages_MapComplete)) {
        StatEventAddDataString(StatEventLastCreated(), "Map Complete", "True");
        StatEventAddDataInt(StatEventLastCreated(), "Victory Time", libPEB1_gv_victoryTime);
        StatEventAddDataInt(StatEventLastCreated(), "Victory Time Loop", libPEB1_gv_victoryTimeLoop);

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:11628

    }
    else {
        StatEventAddDataString(StatEventLastCreated(), "Map Complete", "False");
        StatEventAddDataInt(StatEventLastCreated(), "Defeat Time", libPEB1_gv_defeatTime);
        auto20A9D4B7_val = libPEB1_gv_pZECurrentStageCurrent;

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:317


    StatEventCreate("Pickup Spawned");
    StatEventAddDataString(StatEventLastCreated(), "Pickup Type", (UnitGetType(UnitLastCreated())));
    StatEventSend(StatEventLastCreated());

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:574


    StatEventCreate("Pickup Spawned");
    StatEventAddDataString(StatEventLastCreated(), "Pickup Type", (UnitGetType(UnitLastCreated())));
    StatEventSend(StatEventLastCreated());

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10626

    StatEventCreate("PlayerSpawned");
    StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lp_player);
    StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lp_heroIndex].lv_heroData.lv_unitType));
    StatEventSend(StatEventLastCreated());
    ActorScopeSend(ActorScopeFromUnit(libGame_gv_players[lp_player].lv_heroUnit), "StatusIncrement PreventDestroyOnDeath");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:11822

    StatEventCreate("TalentChosen");
    StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lp_player);
    StatEventAddDataString(StatEventLastCreated(), "PurchaseName", (libGame_gv_talents_TalentChoices[lp_player][lp_tierIndex].lv_talentData[lp_buttonIndex].lv_talentCatalogLink));
    StatEventSend(StatEventLastCreated());
    PlayerAddTalent(lp_player, libGame_gv_talents_TalentChoices[lp_player][lp_tierIndex].lv_talentData[lp_buttonIndex].lv_talentCatalogLink);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18022

        StatEventCreate(lv_statType);
        lv_stat = StatEventLastCreated();
        StatEventAddDataString(lv_stat, "MapID", lv_mapID);
        StatEventAddDataInt(lv_stat, "PlayerID", lv_player);
        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_player));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18024

        StatEventAddDataString(lv_stat, "MapID", lv_mapID);
        StatEventAddDataInt(lv_stat, "PlayerID", lv_player);
        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_player));
        StatEventAddDataString(lv_stat, "WheelAction", lv_action);
        StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18025

        StatEventAddDataInt(lv_stat, "PlayerID", lv_player);
        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_player));
        StatEventAddDataString(lv_stat, "WheelAction", lv_action);
        StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
        StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(lv_point));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18026

        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_player));
        StatEventAddDataString(lv_stat, "WheelAction", lv_action);
        StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
        StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(lv_point));
        StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(lv_point));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18174

        StatEventCreate(lv_statType);
        lv_stat = StatEventLastCreated();
        StatEventAddDataString(lv_stat, "MapID", lv_mapID);
        StatEventAddDataInt(lv_stat, "PlayerID", lv_yellingPlayer);
        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_yellingPlayer));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18176

        StatEventAddDataString(lv_stat, "MapID", lv_mapID);
        StatEventAddDataInt(lv_stat, "PlayerID", lv_yellingPlayer);
        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_yellingPlayer));
        StatEventAddDataString(lv_stat, "VoiceLineID", (lv_voiceLine));
        StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18177

        StatEventAddDataInt(lv_stat, "PlayerID", lv_yellingPlayer);
        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_yellingPlayer));
        StatEventAddDataString(lv_stat, "VoiceLineID", (lv_voiceLine));
        StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
        StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(UnitGetPosition(lv_heroUnit)));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18178

        StatEventAddDataString(lv_stat, "PlayerHandle", PlayerHandle(lv_yellingPlayer));
        StatEventAddDataString(lv_stat, "VoiceLineID", (lv_voiceLine));
        StatEventAddDataString(lv_stat, "HeroID", (UnitGetType(lv_heroUnit)));
        StatEventAddDataFixed(lv_stat, "XLoc", PointGetX(UnitGetPosition(lv_heroUnit)));
        StatEventAddDataFixed(lv_stat, "YLoc", PointGetY(UnitGetPosition(lv_heroUnit)));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1724

    StatEventAddDataFixed(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(lp_owner));
    if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_GraveGolem) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BossCamp1) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BossCamp2) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BossCamp3))) {
        StatEventAddDataString(StatEventLastCreated(), "CampType", "Boss Camp");
    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_Knights) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BruiserCamp1) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BruiserCamp2) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BruiserCamp3))) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1727

    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_Knights) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BruiserCamp1) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BruiserCamp2) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_BruiserCamp3))) {
        StatEventAddDataString(StatEventLastCreated(), "CampType", "Bruiser Camp");
    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeGiants) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeCamp1) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeCamp2) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeCamp3))) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1730

    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeGiants) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeCamp1) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeCamp2) || (libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_SiegeCamp3))) {
        StatEventAddDataString(StatEventLastCreated(), "CampType", "Siege Camp");
    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_Doubloons))) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1733

    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_Doubloons))) {
        StatEventAddDataString(StatEventLastCreated(), "CampType", "Doubloons Camp");
    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_Custom))) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1736

    }
    else if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_mapDataCampDefenderType == libMapM_ge_JungleCampDefenderTypes_Custom))) {
        StatEventAddDataString(StatEventLastCreated(), "CampType", "Custom");
    }
    else if (true) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1740

    else if (true) {
        TriggerDebugOutput(1, StringExternal("Param/Value/lib_MapM_6D547B1E"), true);
        StatEventAddDataString(StatEventLastCreated(), "CampType", "Other");
    }
    StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:646

        StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_i);
        StatEventAddDataInt(StatEventLastCreated(), "Team", libGame_gf_TeamNumberOfPlayer(lv_i));
        StatEventAddDataString(StatEventLastCreated(), "Controller", lv_controller);
        if ((PlayerType(lv_i) == c_playerTypeUser)) {
            lv_handle = PlayerHandle(lv_i);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:650

            lv_handle = PlayerHandle(lv_i);
            if ((lv_handle != "")) {
                StatEventAddDataString(StatEventLastCreated(), "ToonHandle", lv_handle);
            }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:724

            StatEventCreate("EndOfGameRegenMasterStacks");
            StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_player);
            StatEventAddDataString(StatEventLastCreated(), "Hero", (UnitGetType(libGame_gv_players[lv_player].lv_heroUnit)));
            StatEventAddDataInt(StatEventLastCreated(), "Stack Count", UnitBehaviorCount(libGame_gv_players[lv_player].lv_heroUnit, "RegenerationMaster"));
            StatEventSend(StatEventLastCreated());

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:732

            StatEventCreate("EndOfGameMarksmanStacks");
            StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_player);
            StatEventAddDataString(StatEventLastCreated(), "Hero", (UnitGetType(libGame_gv_players[lv_player].lv_heroUnit)));
            StatEventAddDataInt(StatEventLastCreated(), "Stack Count", FixedToInt(UnitGetTokenCount(libGame_gv_players[lv_player].lv_heroUnit, CatalogFieldValueGet(c_gameCatalogBehavior, "TalentSeasonedMarksmanTokenCounter", "TokenId", c_playerAny))));
            StatEventSend(StatEventLastCreated());

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:739

        StatEventCreate("EndOfGameTalentChoices");
        StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_player);
        StatEventAddDataString(StatEventLastCreated(), "Hero", (UnitGetType(libGame_gv_players[lv_player].lv_heroUnit)));
        StatEventAddDataInt(StatEventLastCreated(), "Level", libGame_gv_teams[libGame_gf_TeamNumberOfPlayer(lv_player)].lv_teamLevel);
        if ((libGame_gf_TeamNumberOfPlayer(lv_player) == lp_team)) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:742

        StatEventAddDataInt(StatEventLastCreated(), "Level", libGame_gv_teams[libGame_gf_TeamNumberOfPlayer(lv_player)].lv_teamLevel);
        if ((libGame_gf_TeamNumberOfPlayer(lv_player) == lp_team)) {
            StatEventAddDataString(StatEventLastCreated(), "Win/Loss", "Win");
        }
        else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:745

        }
        else {
            StatEventAddDataString(StatEventLastCreated(), "Win/Loss", "Loss");
        }
        StatEventAddDataString(StatEventLastCreated(), "Map", libCore_gv_mAPMapStringID);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:747

            StatEventAddDataString(StatEventLastCreated(), "Win/Loss", "Loss");
        }
        StatEventAddDataString(StatEventLastCreated(), "Map", libCore_gv_mAPMapStringID);
        lv_itTalentTier = 1;
        for ( ; ( (autoD3BAC227_ai >= 0 && lv_itTalentTier <= autoD3BAC227_ae) || (autoD3BAC227_ai < 0 && lv_itTalentTier >= autoD3BAC227_ae) ) ; lv_itTalentTier += autoD3BAC227_ai ) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:751

        for ( ; ( (autoD3BAC227_ai >= 0 && lv_itTalentTier <= autoD3BAC227_ae) || (autoD3BAC227_ai < 0 && lv_itTalentTier >= autoD3BAC227_ae) ) ; lv_itTalentTier += autoD3BAC227_ai ) {
            if ((libGame_gv_talents_TalentChoices[lv_player][lv_itTalentTier].lv_talentData[libGame_gv_talents_TalentChoices[lv_player][lv_itTalentTier].lv_selection].lv_talentCatalogLink != null)) {
                StatEventAddDataString(StatEventLastCreated(), ("Tier " + IntToString(lv_itTalentTier) + " Choice"), (libGame_gv_talents_TalentChoices[lv_player][lv_itTalentTier].lv_talentData[libGame_gv_talents_TalentChoices[lv_player][lv_itTalentTier].lv_selection].lv_talentCatalogLink));
            }
            else {

mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmodbase.stormdata/LibMSHE.galaxy:1838

    StatEventAddDataInt(StatEventLastCreated(), "Event", libMSHE_gv_mMISNumberOfShrinesEvents);
    StatEventAddDataInt(StatEventLastCreated(), "Owning Team of Punisher", libGame_gf_TeamNumberOfPlayer(EventPlayer()));
    StatEventAddDataString(StatEventLastCreated(), "Punisher Type", (libMSHE_gv_mMISBuff));
    StatEventAddDataFixed(StatEventLastCreated(), "Siege Damage Done", libMSHE_gv_punisherSiegeDamage);
    StatEventAddDataFixed(StatEventLastCreated(), "Hero Damage Done", libMSHE_gv_punisherHeroDamage);

mods/heromods/chogall.stormmodbase.stormdata/LibHCHO.galaxy:1770

    StatEventCreate("PlayerSpawned");
    StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lv_gallPlayer);
    StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lv_gallIndex].lv_heroData.lv_unitType));
    StatEventSend(StatEventLastCreated());
    libGame_gv_players[lv_gallPlayer].lv_cameraPlayerUnitGroupToFocusOn = libGame_gv_players[lv_gallPlayer].lv_heroUnitGroup;

mods/heromods/dva.stormmodbase.stormdata/LibHDVA.galaxy:235

    StatEventCreate("PlayerSpawned");
    StatEventAddDataInt(StatEventLastCreated(), "PlayerID", lp_player);
    StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lp_player].lv_heroData.lv_unitType));
    StatEventSend(StatEventLastCreated());
    ActorScopeSend(ActorScopeFromUnit(libGame_gv_players[lp_player].lv_heroUnit), "StatusIncrement PreventDestroyOnDeath");

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:5167

    TextExpressionSetToken("Param/Expression/lib_COOC_DB7366EF", "B", StringToText(lp_value));
    TriggerDebugOutput(13, TextExpressionAssemble("Param/Expression/lib_COOC_DB7366EF"), false);
    StatEventAddDataString(lp_event, lp_key, lp_value);
}