|
@@ -13,21 +13,12 @@ namespace GFGGame
|
|
public const string DllDirAOT = "Assets/ResIn/Dll/AOT/";
|
|
public const string DllDirAOT = "Assets/ResIn/Dll/AOT/";
|
|
public const int HTTP_GET_TIME_OUT = 3;
|
|
public const int HTTP_GET_TIME_OUT = 3;
|
|
public const int HTTP_POST_TIME_OUT = 15;
|
|
public const int HTTP_POST_TIME_OUT = 15;
|
|
- public static string SOUND_KEY = "sound";
|
|
|
|
- public static string MUSIC_KEY = "music";
|
|
|
|
- public static string VOICE_KEY = "voice";
|
|
|
|
-
|
|
|
|
- public static string SOUND_VOLUMN_KEY = "sound_volumn";
|
|
|
|
- public static string MUSIC_VOLUMN_KEY = "music_volumn";
|
|
|
|
- public static string VOICE_VOLUMN_KEY = "voice_volumn";
|
|
|
|
|
|
|
|
public const string SQL_FILE_NAME = "excelConfig.sqlite.bytes";
|
|
public const string SQL_FILE_NAME = "excelConfig.sqlite.bytes";
|
|
|
|
|
|
public const string LAST_LOGIN_IS_AGREE_KEY = "LAST_LOGIN_IS_AGREE_KEY_6";//上次登录是否同意隐私政策
|
|
public const string LAST_LOGIN_IS_AGREE_KEY = "LAST_LOGIN_IS_AGREE_KEY_6";//上次登录是否同意隐私政策
|
|
|
|
|
|
public static string CDN_ROOT;
|
|
public static string CDN_ROOT;
|
|
- public static string loginApiUrl;
|
|
|
|
- public static string gameApiUrl;
|
|
|
|
public static string launcherRootUrl;
|
|
public static string launcherRootUrl;
|
|
public static string cfgUrl;
|
|
public static string cfgUrl;
|
|
//平台id
|
|
//平台id
|
|
@@ -39,9 +30,15 @@ namespace GFGGame
|
|
public static string apkVersion;
|
|
public static string apkVersion;
|
|
//0 正常,1 维护中,2 提审中
|
|
//0 正常,1 维护中,2 提审中
|
|
public static int serverStatus;
|
|
public static int serverStatus;
|
|
|
|
+ //0 关闭所有log界面,1 开启后台log界面, 2 开启弹窗log界面
|
|
public static int onDebug;
|
|
public static int onDebug;
|
|
|
|
+ //AB资源版本
|
|
public static string manifest_v;
|
|
public static string manifest_v;
|
|
|
|
+ //隐私政策文件地址模版
|
|
public static string privacy_v;
|
|
public static string privacy_v;
|
|
|
|
+ public static string statusPrompt;
|
|
|
|
+ public static string updateAppPrompt;
|
|
|
|
+ public static string updateResPrompt;
|
|
|
|
|
|
public static void InitScriptCompilation()
|
|
public static void InitScriptCompilation()
|
|
{
|
|
{
|
|
@@ -82,6 +79,9 @@ namespace GFGGame
|
|
LauncherConfig.onDebug = int.Parse(result.onDebug);
|
|
LauncherConfig.onDebug = int.Parse(result.onDebug);
|
|
LauncherConfig.manifest_v = result.manifest_v;
|
|
LauncherConfig.manifest_v = result.manifest_v;
|
|
LauncherConfig.privacy_v = result.privacy_v;
|
|
LauncherConfig.privacy_v = result.privacy_v;
|
|
|
|
+ LauncherConfig.statusPrompt = result.statusPrompt;
|
|
|
|
+ LauncherConfig.updateAppPrompt = result.updateAppPrompt;
|
|
|
|
+ LauncherConfig.updateResPrompt = result.updateResPrompt;
|
|
}
|
|
}
|
|
|
|
|
|
private struct Result
|
|
private struct Result
|
|
@@ -93,6 +93,10 @@ namespace GFGGame
|
|
public string onDebug;
|
|
public string onDebug;
|
|
public string manifest_v;
|
|
public string manifest_v;
|
|
public string privacy_v;
|
|
public string privacy_v;
|
|
|
|
+ public string statusPrompt;
|
|
|
|
+ public string updateAppPrompt;
|
|
|
|
+ public string updateResPrompt;
|
|
|
|
+ public string promptSizeMB;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|