Make sending data to the server easier & send new stats to the server (and load, not fully yet tho)

This commit is contained in:
2025-06-15 14:14:40 -07:00
parent 533bd53073
commit 12d95097a2
11 changed files with 80 additions and 52 deletions

View File

@@ -0,0 +1,13 @@
using UnityEngine;
public class EncryptedWWWForm
{
private readonly WWWForm form = new();
public void AddField(string key, string value)
{
form.AddField(key, SensitiveInfo.Encrypt(value, SensitiveInfo.SERVER_SEND_TRANSFER_KEY));
}
public WWWForm GetWWWForm() => form;
}