|
@@ -4,7 +4,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
public class LauncherConfig
|
|
public class LauncherConfig
|
|
{
|
|
{
|
|
- public enum EnumNetType { DEV, LOCAL, TEMP }
|
|
|
|
|
|
+ public enum EnumNetType { DEV, LOCAL, TEMP, TISHEN }
|
|
public static EnumNetType netType = EnumNetType.LOCAL;
|
|
public static EnumNetType netType = EnumNetType.LOCAL;
|
|
public static string cfgName;
|
|
public static string cfgName;
|
|
|
|
|
|
@@ -65,7 +65,6 @@ namespace GFGGame
|
|
var result = JsonMapper.ToObject<Result>(json);
|
|
var result = JsonMapper.ToObject<Result>(json);
|
|
LauncherConfig.CDN_ROOT = result.cdnRoot;
|
|
LauncherConfig.CDN_ROOT = result.cdnRoot;
|
|
//CDN_ROOT = "http://10.108.64.127/";
|
|
//CDN_ROOT = "http://10.108.64.127/";
|
|
- LauncherConfig.loginApiUrl = result.loginApiUrl;
|
|
|
|
LauncherConfig.logApiUrl = result.logApiUrl;
|
|
LauncherConfig.logApiUrl = result.logApiUrl;
|
|
LauncherConfig.logKey = result.logKey;
|
|
LauncherConfig.logKey = result.logKey;
|
|
LauncherConfig.apkVersion = result.apkVersion;
|
|
LauncherConfig.apkVersion = result.apkVersion;
|
|
@@ -79,7 +78,6 @@ namespace GFGGame
|
|
private struct Result
|
|
private struct Result
|
|
{
|
|
{
|
|
public string cdnRoot;
|
|
public string cdnRoot;
|
|
- public string loginApiUrl;
|
|
|
|
public string logApiUrl;
|
|
public string logApiUrl;
|
|
public string logKey;
|
|
public string logKey;
|
|
public string apkVersion;
|
|
public string apkVersion;
|