|
@@ -12,6 +12,8 @@ namespace GFGGame
|
|
public static string PlatformName;
|
|
public static string PlatformName;
|
|
public static string logApiReportUrl;
|
|
public static string logApiReportUrl;
|
|
public static int showGM;
|
|
public static int showGM;
|
|
|
|
+ //开服时间
|
|
|
|
+ public static long openTime = 0;
|
|
|
|
|
|
public static void InitData(string json)
|
|
public static void InitData(string json)
|
|
{
|
|
{
|
|
@@ -22,6 +24,10 @@ namespace GFGGame
|
|
//LoginAddress = "127.0.0.1:10005";//测试地址
|
|
//LoginAddress = "127.0.0.1:10005";//测试地址
|
|
PlatformName = result.platformName;
|
|
PlatformName = result.platformName;
|
|
showGM = int.Parse(result.showGM);
|
|
showGM = int.Parse(result.showGM);
|
|
|
|
+ if(!string.IsNullOrEmpty(result.openTime))
|
|
|
|
+ {
|
|
|
|
+ openTime = TimeUtil.GetTimestamp(result.openTime);
|
|
|
|
+ }
|
|
GameConfig.logApiReportUrl = LauncherConfig.logApiRootUrl + "ReportGet";
|
|
GameConfig.logApiReportUrl = LauncherConfig.logApiRootUrl + "ReportGet";
|
|
}
|
|
}
|
|
|
|
|
|
@@ -30,6 +36,7 @@ namespace GFGGame
|
|
public string loginApiUrl;
|
|
public string loginApiUrl;
|
|
public string platformName;
|
|
public string platformName;
|
|
public string showGM;
|
|
public string showGM;
|
|
|
|
+ public string openTime;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|