| | |
| | | |
| | | public class VersionUtility : Singleton<VersionUtility> |
| | | { |
| | | public static readonly string[] VERSION_URL = new string[] { |
| | | "http://xssgcenter.secondworld.net.cn:11000/center/appversion_new.php/?"}; |
| | | // public static readonly string[] VERSION_URL = new string[] { |
| | | // "http://xssgcenter.secondworld.net.cn:11000/center/appversion_new.php/?"}; |
| | | |
| | | public string androidRoot { get { return string.Empty;/*StringUtility.Concat(SDKUtils.Instance.DeviceRootPath, "/", VersionConfig.Get().bundleIdentifier);*/ } } |
| | | |
| | |
| | | using System; |
| | | |
| | | public class ServerListCenter : Singleton<ServerListCenter> |
| | | |
| | | { |
| | | public static readonly string[] JUMP_URL = new string[] { "http://xssgcenter.secondworld.net.cn:11000/center/server_list.php/?" }; |
| | | public static readonly string[] JUMP_URL = new string[] |
| | | { |
| | | "http://xssgcenter.secondworld.net.cn:11000/center/server_list.php/?", |
| | | "http://106.55.151.92:11000/center/server_list_new.php/?" |
| | | }; |
| | | |
| | | public static string SERVERLIST_URL_COMMON = ""; |
| | | public static string SERVERLIST_URL_PLAYER = ""; |
| | |
| | | return; |
| | | } |
| | | |
| | | var url = StringUtility.Concat(JUMP_URL[0], "game=xssg&flag=", VersionConfig.Get().appId, "_", VersionConfig.Get().branch.ToString(), "_", VersionConfig.Get().version); |
| | | var url = StringUtility.Concat(JUMP_URL[jumpUrlIndex % JUMP_URL.Length], "game=xssg&flag=", VersionConfig.Get().appId, "_", VersionConfig.Get().branch.ToString(), "_", VersionConfig.Get().version); |
| | | jumpUrlIndex++; |
| | | serverUrl = url; |
| | | Debug.Log("http地址:serverlist " + url); |