-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
28 additions
and
45 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
|
||
namespace AchtungMod | ||
{ | ||
public class ModCounter | ||
{ | ||
// a very simple and gdpr friendly mod launch counter. | ||
// no personal information is transfered and firebase | ||
// doesn't store the IP or any other traceable information | ||
|
||
static readonly string baseUrl = "http://us-central1-brrainz-mod-stats.cloudfunctions.net/ping?"; | ||
public static void Trigger() | ||
{ | ||
try | ||
{ | ||
var uri = new Uri(baseUrl + "Achtung"); | ||
var client = new System.Net.WebClient(); | ||
client.DownloadStringAsync(uri); | ||
} | ||
catch (Exception) | ||
{ | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Firebaser" version="0.9.6" targetFramework="net35" /> | ||
<package id="Lib.Harmony" version="1.2.0.1" targetFramework="net35" /> | ||
</packages> |