using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public static class UserProperty { // Start is called before the first frame update public static int userId = 1; public static string name = "任天堂"; public static int coin = 1005; public static DateTime tokenExpireTime; //public static Dictionary foods = new(); //public static Dictionary toys = new(); //public static Dictionary others = new(); public static Dictionary> itemStocks = new(); } public class ItemStock { public string id; public int qty; public ItemStock(string id, int qty) { this.id = id; this.qty = qty; } }