Make icon marketplace use cache

This commit is contained in:
Lncvrt committed 2026-02-02 18:15:52 -07:00
1 parent 8e5fb1dbdc
commit 27ddf004b8
5 files changed
+40 -10

No files matched your search

@@ -0,0 +1,35 @@
using System.Numerics;
using Newtonsoft.Json;
using UnityEngine.Scripting;
[Preserve]
public class MarketplaceIconWithData
{
[Preserve]
[JsonProperty("username")]
public string CreatorUsername { get; set; }
[Preserve]
[JsonProperty("userid")]
public BigInteger CreatorUserID { get; set; }
[Preserve]
[JsonProperty("data")]
public string Data { get; set; }
[Preserve]
[JsonProperty("hash")]
public string Hash { get; set; }
[Preserve]
[JsonProperty("id")]
public string ID { get; set; }
[Preserve]
[JsonProperty("price")]
public BigInteger Price { get; set; }
[Preserve]
[JsonProperty("name")]
public string Name { get; set; }
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 1717a2bf1d6b2463faf2ef7fde6d3129
@@ -13,10 +13,6 @@ public class MarketplaceTempIcon
[JsonProperty("userid")]
public BigInteger CreatorUserID { get; set; }
[Preserve]
[JsonProperty("data")]
public string Data { get; set; }
[Preserve]
[JsonProperty("id")]
public string ID { get; set; }
@@ -25,10 +21,6 @@ public class MarketplaceTempIcon
[JsonProperty("price")]
public BigInteger Price { get; set; }
[Preserve]
[JsonProperty("buyable")]
public bool Buyable { get; set; }
[Preserve]
[JsonProperty("name")]
public string Name { get; set; }