Add a user search menu

This commit is contained in:
2026-02-02 21:32:19 -07:00
parent 36002decc9
commit ba4455cab2
11 changed files with 3795 additions and 299 deletions

View File

@@ -0,0 +1,39 @@
using System.Numerics;
using Newtonsoft.Json;
using UnityEngine.Scripting;
[Preserve]
public class Account
{
[Preserve]
[JsonProperty("id")]
public BigInteger UserID { get; set; }
[Preserve]
[JsonProperty("username")]
public string Username { get; set; }
[Preserve]
[JsonProperty("icon")]
public int Icon { get; set; }
[Preserve]
[JsonProperty("overlay")]
public int Overlay { get; set; }
[Preserve]
[JsonProperty("birdColor")]
public int[] BirdColor { get; set; }
[Preserve]
[JsonProperty("overlayColor")]
public int[] OverlayColor { get; set; }
[Preserve]
[JsonProperty("customIcon")]
public string CustomIcon { get; set; }
[Preserve]
[JsonProperty("stats")]
public Stats Stats { get; set; }
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 98be53ab03e46424096c025c9dafd0eb

View File

@@ -0,0 +1,47 @@
using System.Numerics;
using Newtonsoft.Json;
using UnityEngine.Scripting;
[Preserve]
public class Stats
{
[Preserve]
[JsonProperty("highScore")]
public BigInteger HighScore { get; set; }
[Preserve]
[JsonProperty("totalNormalBerries")]
public BigInteger TotalNormalBerries { get; set; }
[Preserve]
[JsonProperty("totalPoisonBerries")]
public BigInteger TotalPoisonBerries { get; set; }
[Preserve]
[JsonProperty("totalSlowBerries")]
public BigInteger TotalSlowBerries { get; set; }
[Preserve]
[JsonProperty("totalUltraBerries")]
public BigInteger TotalUltraBerries { get; set; }
[Preserve]
[JsonProperty("totalSpeedyBerries")]
public BigInteger TotalSpeedyBerries { get; set; }
[Preserve]
[JsonProperty("totalCoinBerries")]
public BigInteger TotalCoinBerries { get; set; }
[Preserve]
[JsonProperty("totalRandomBerries")]
public BigInteger TotalRandomBerries { get; set; }
[Preserve]
[JsonProperty("totalAntiBerries")]
public BigInteger TotalAntiBerries { get; set; }
[Preserve]
[JsonProperty("coins")]
public BigInteger Coins { get; set; }
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: fdfa01999e81b4974b97832cf44a3784