embed plugin loader directly into the launcher

This commit is contained in:
zznty
2022-10-29 01:50:14 +07:00
parent 7204815c0c
commit 66d3dc2ead
53 changed files with 5689 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
namespace PluginLoader.Stats.Model;
// Request data sent to the StatsServer each time the game is started
public class TrackRequest
{
// Hash of the player's Steam ID
// Hexdump of the first 80 bits of SHA1($"{steamId}")
// The client determines the ID of the player, never the server.
// Using a hash is required for data protection and privacy.
// Using a hash makes it impractical to track back usage or votes to
// individual players, while still allowing for near-perfect deduplication.
// It also prevents stealing all the Steam IDs from the server's database.
public string PlayerHash { get; set; }
// Ids of enabled plugins when the game started
public string[] EnabledPluginIds { get; set; }
}