# Reset All User Data

Grammar — Reset all user data
FlagsNative | Action

Resets all user data to the default values defined in the Data module.

Returns — void

native void UserDataResetAll();

Category: User Data / Utility

# Examples

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13325


    // Implementation
    UserDataResetAll();
    libSwaC_gv_zSX_IsSimulation = false;
    libSwaC_gv_zSX_IsVictoryPlayAgain = false;

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


    // Implementation
    UserDataResetAll();
    libVoiC_gv_pCX_IsSimulation = false;
    libVoiC_gv_pCX_IsVictoryPlayAgain = false;

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:3308


    // Implementation
    UserDataResetAll();
    libComC_gv_cCX_IsSimulation = false;
    libComC_gv_cCX_IsVictoryPlayAgain = false;

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6434


    // Implementation
    UserDataResetAll();
    libA3DDD02B_gv_pPX_IsSimulation = false;
    libA3DDD02B_gv_pPX_IsVictoryPlayAgain = false;