using System;
using System.Collections.Generic;
using System.Text;

namespace Thousandto.Core.Base
{
    /// <summary>
    /// 游戏全局数据,这里存储的数据,在Launcher和Client两个项目公共的数据
    /// 基本上从Launcher获取的信息,到Client中也需要使用的数据
    /// </summary>
    public static class GameGlobalData
    {
        public static string APP_VERSION = "";
        public static string RES_VERSION = "";
        public static string ACCOUNT = "";
        public static string PLAYER_ID = "";
        public static bool EnableShowUploadLogForm = true;

        public static string PlayerPrefs_LastPlayerName = "LastPlayerName";
        public static string PlayerPrefs_LastPlayerID = "LastPlayerID";
        public static string PlayerPrefs_TotayFirstShowNotice = "TotayFirstShowNotice";
        public static string PlayerPrefs_Account = "Account";

        public static int BackDownloadStageNum = 0; //后台更新分段数
        public static int BackDownloadCurStage = 0; //后台更新到第几分段
        public static int BackDownloadStageSize = 0; //当前分段总大小
        public static int BackDownloadStageDownSize = 0; //当前分段下载大小

        //是否在重连
        public static bool IsReconnecting = false;
        //使用ipv6的开关, 默认是开启的
        public static bool UseIPv6 = true;
    }
}