123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using LitJson;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace rtc
- {
- 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;
- }
- }
- /// <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";
- }
- }
|