using System; using UnityEngine; using UnityEngine.Serialization; namespace Fort23.Mono { [CreateAssetMenu(fileName = "Assets/GameRuntimeConfig", menuName = "GameRuntimeConfig", order = 0)] public class GameRuntimeConfig : ScriptableObject { // // 大版本号 // public int version; // // // 发布版本号 // public int buildVer; // // // 资源版本号 // public int assetVer; // // // 服务器版本号 // public int serverVer; // // // 发送给服务器的资源版本号,与服务器对比,用于客户端资源强更 // public int sendAssetVer; // // /// // /// 解锁所有系统 // /// // public bool unLockAll; // // public bool isUpdateAsset; // // // public bool isSkip; // // public bool isUnlockAll; // // public bool isDebug; // // public bool IsUseServerData; // // public Vector4 debugPhase; // // public bool ClearGuideData; // // // public Area area; // public CDN cdn; // public LoginServer loginServer; // public bool isSaveCombat = false; // public bool isAllLog = false; // // public string AppVer // { // get { return version + "." + buildVer; } // } } // [Flags] // public enum Area // { // [EnumLabel("无", "")] None = 0, // [EnumLabel("国际", "AREA_ABROAD")] Abroad = 2, // [EnumLabel("越南", "AREA_VIETNAM")] Vietnam = 4, // [EnumLabel("韩国", "AREA_KOREA")] Korea = 8, // [EnumLabel("国内", "AREA_CHINA")] China = 16, // [EnumLabel("香港", "AREA_HK")] HongKang = 32, // } // // public enum CDN // { // [EnumLabel("华为云(备用)", "http://121.36.145.47/TestAsset/")] // HuaWei, // // [EnumLabel("国际正式", "http://autoheros.test.233i.com/data/007asset/")] // HaiWai, // // [EnumLabel("国际测试", "http://121.36.145.47/GuoJi/")] // HaiWaiTest, // // [EnumLabel("国内正式", "http://cn-autoheros.233i.com/data/007asset/")] // GuoNei, // // [EnumLabel("国内测试", "http://121.36.145.47/GuoNei/")] // GuoNeiTest, // // [EnumLabel("韩国正式", "http://autoheros.test.233i.com/data/007asset/fort23Test/")] // HanGuo, // // [EnumLabel("韩国测试", "http://121.36.145.47/HanGuo/")] // HanGuoTest, // // [EnumLabel("越南正式", "http://121.36.145.47/TestAsset/")] // YueNan, // // [EnumLabel("越南测试", "http://121.36.145.47/YueNan/")] // YueNanTest, // // [EnumLabel("港澳台正式", "http://121.36.145.47/GAT/")] // HK, // // [EnumLabel("港澳台测试", "http://121.36.145.47/YueNan/")] // KHTest, // // [EnumLabel("本地(192.168.123.xxx:8080)", "http://192.168.123.216:8080/res/")] // Other, // } // // public enum LoginServer // { // [EnumLabel("国际测试(华为)", data: "http://121.36.145.47:998")] // HuaWei, // // [EnumLabel("国际正式(腾讯)", "http://autoheros.login.233i.com:1000")] // HaiWai, // // [EnumLabel("国内正式", "http://cn-autoheros.login.233i.com:999")] // GuoNei, // // [EnumLabel("国内审核测试", "http://autoheros_cn_test.login.233i.com:1000")] // GuoNeiTest, // // [EnumLabel("韩国", "http://101.33.66.62:1000")] // HanGuo, // // [EnumLabel("越南", "http://103.124.94.73:1000")] // YueNan, // // [EnumLabel("港澳台", "http://175.97.134.167:10001")] // HK, // // [EnumLabel("海外测试(华为997)", data: "http://121.36.145.47:997")] // HuaWei_997, // // //[EnumLabel("其他(192.168.123.xxx:1000)", "http://192.168.123.216:1000")] // [EnumLabel("其他(192.168.123.xxx:1000)", "http://127.0.0.1:1000")] // Other // } // // public enum AnaroidPackNameServer // { // [EnumLabel("海外", data = "com.axe233i.autoheroes.oversea.andriod")] // A_Google, // // [EnumLabel("国内", data = "com.shiguangniuniu.autoheroes.domestic.android")] // A_GuoNei, // // [EnumLabel("韩国", data = "com.youloft.autoheroes")] // A_HaiGuo, // // [EnumLabel("越南", data = "com.mobileevosaigon.starvearena")] // com.misaigon.starvearena // A_YueNan, // // [EnumLabel("港澳台", data = "com.luckyfun.aedzj")] // A_GangAoTai, // } // // public enum IosPackNameServer // { // [EnumLabel("海外", data = "com.axe233i.autoheroes.oversea.ios")] // iOS_haiwai, // // [EnumLabel("国内", data = "com.shiguangniuniu.autoheroes.domestic.ios")] // iOS_GuoNei, // // [EnumLabel("越南", data = "com.mobileevosaigon.starvearena.ios")] // iOS_YueNan, // // [EnumLabel("港澳台", data = "com.cyh.aedzj")] // ioS_GangAoTai, // } }