using LitJson; using System.Collections; using System.Collections.Generic; using UnityEngine; public class UserInfo { public static string avatar; public static Texture textIcon; public static string defaultavatar; public static Texture defaulttextIcon; public static string phone = string.Empty; public static string UnionId = string.Empty; public static string PassWord = string.Empty; //影创账号 public static int activateType; //影创账号 public static double indate; //影创账号 public static string userName = string.Empty; public static bool isSN; //设备sn号 public static string Serialno = string.Empty; //影创账号 public static string Account = string.Empty; //影创应用号 public static string AppID = string.Empty; //影创Token public static string Token = string.Empty; //应用Token public static string User_Token = string.Empty; //应用uid public static string uid = string.Empty; public static JsonData UserIconData; public static bool isRemindTip { get { return PlayerPrefs.GetInt("isRemindTip") == 1 ? true : false; } } /// /// 判断是否为游客账号 /// /// true, if vistor account was ised, false otherwise. public static bool isVistorAccount() { return Serialno == Account; } /// /// 判断用户是否登陆 /// /// true, if login was ised, false otherwise. public static bool isLogin() { return Account != string.Empty; } public static string BusyType = "free/busy"; //public static string FreeType = "free"; }