diff --git a/TestMod/AnalyticsPatch.cs b/TestMod/AnalyticsPatch.cs new file mode 100644 index 0000000..0f08147 --- /dev/null +++ b/TestMod/AnalyticsPatch.cs @@ -0,0 +1,15 @@ +using System; +using Harmony; + +namespace TestMod +{ + [HarmonyPatch(typeof(Analytics.DeltaDNAHelper), "StartSession", new Type[] {string})] + public class AnalyticsPatch + { + static bool Prefix(string userId) + { + return false; // stop tracking startup + } + } +} + diff --git a/TestMod/TestMod.csproj b/TestMod/TestMod.csproj index c37783f..d4505f2 100644 --- a/TestMod/TestMod.csproj +++ b/TestMod/TestMod.csproj @@ -9,6 +9,9 @@ + + ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gamecraft\RobocraftX_Data\Managed\Analytics.dll + ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Gamecraft\RobocraftX_Data\Managed\CommandLine.dll