1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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 SystemDatas systemDatas;
- public static bool isRemindTip { get {
- return PlayerPrefs.GetInt("isRemindTip") == 1 ? true : false; } }
-
- /// <summary>
- /// 判断是否为游客账号
- /// </summary>
- /// <returns><c>true</c>, if vistor account was ised, <c>false</c> otherwise.</returns>
- public static bool isVistorAccount()
- {
- return Serialno == Account;
- }
- /// <summary>
- /// 判断用户是否登陆
- /// </summary>
- /// <returns><c>true</c>, if login was ised, <c>false</c> otherwise.</returns>
- public static bool isLogin()
- {
- return Account != string.Empty;
- }
- public static string BusyType = "free/busy";
- //public static string FreeType = "free";
- }
|