|
@@ -1,5 +1,4 @@
|
|
|
using LitJson;
|
|
|
-using UnityEngine;
|
|
|
|
|
|
namespace GFGGame
|
|
|
{
|
|
@@ -25,6 +24,7 @@ namespace GFGGame
|
|
|
public static string logKey;
|
|
|
public static string logApiUrl;
|
|
|
public static string apkVersion;
|
|
|
+ public static int serverStatus;
|
|
|
|
|
|
public static string resKey
|
|
|
{
|
|
@@ -65,6 +65,9 @@ namespace GFGGame
|
|
|
LauncherConfig.logApiUrl = result.logApiUrl;
|
|
|
LauncherConfig.logKey = result.logKey;
|
|
|
LauncherConfig.apkVersion = result.apkVersion;
|
|
|
+ LauncherConfig.serverStatus = int.Parse(result.serverStatus);
|
|
|
+ LauncherConfig.platformId = int.Parse(result.platformId);
|
|
|
+ ET.Log.Debug($"platformId {LauncherConfig.platformId}");
|
|
|
}
|
|
|
|
|
|
private struct Result
|
|
@@ -74,6 +77,8 @@ namespace GFGGame
|
|
|
public string logApiUrl;
|
|
|
public string logKey;
|
|
|
public string apkVersion;
|
|
|
+ public string serverStatus;
|
|
|
+ public string platformId;
|
|
|
}
|
|
|
|
|
|
}
|