125 lines
4.8 KiB
C#
125 lines
4.8 KiB
C#
// #####
|
||
// # # #### # # #### ##### ## # # #####
|
||
// # # # ## # # # # # ## # #
|
||
// # # # # # # #### # # # # # # #
|
||
// # # # # # # # # ###### # # # #
|
||
// # # # # # ## # # # # # # ## #
|
||
// ##### #### # # #### # # # # # #
|
||
|
||
|
||
/*
|
||
*---------------------------------------------------------------
|
||
* V_XXXXX for Config Values
|
||
* K_XXXXX for Config Keys
|
||
*===============================================================
|
||
*/
|
||
|
||
using System.Collections.Generic;
|
||
|
||
public class GConstant
|
||
{
|
||
public const string V_Debug_Config_Path = "debugconfig.json";
|
||
|
||
#if UNITY_ANDROID
|
||
public const string V_Remote_Config_Path = "androidconfig.json";
|
||
#elif UNITY_IOS
|
||
public const string V_Remote_Config_Path = "iosconfig.json";
|
||
#else
|
||
public const string V_Remote_Config_Path = "config.json";
|
||
#endif
|
||
|
||
public const string K_Static_Res_URL = "StaticResURL";
|
||
|
||
public const string V_Static_Res_URL = "https://sls-cloudfunction-ap-beijing-code-1305151099.cos.ap-beijing.myqcloud.com/mini/{0}";
|
||
//RU
|
||
public const string V_Static_Res_URL_RU = "https://sls-cloudfunction-ap-beijing-code-1305151099.cos.ap-beijing.myqcloud.com/mini{0}";
|
||
|
||
public const string K_Event_API_URL = "EventApiURL";
|
||
|
||
public const string K_Maintance = "Maintance";
|
||
|
||
public const string K_Ver = "Ver";
|
||
public const string K_Ver_New = "Ver_New";
|
||
|
||
public const string K_PlayFab_Title = "PlayFabTitle";
|
||
public const string K_PlayFab_TimeOut = "PlayFabTimeOut";
|
||
|
||
public const string K_Custom_Addressable = "Custom_Addressable_URL";
|
||
public const string K_Origin_Addressable = "Origin_Addressable_URL";
|
||
|
||
public const string K_Android_Privacy_Policy_URL = "PrivacyPolicy";
|
||
public const string V_Android_Privacy_Policy_URL = "https://arksgame.com/privacyGoogle.html";
|
||
|
||
public const string K_IOS_Privacy_Policy_URL = "PrivacyPolicy";
|
||
public const string V_IOS_Privacy_Policy_URL = "https://arksgame.com/ps.html";
|
||
|
||
public const string K_User_Agreement_URL = "UserAgreement";
|
||
public const string V_User_Agreement_URL = "https://arksgame.com/terms.html";
|
||
|
||
public const string K_APP_Store_URL = "APP_Store_URL";
|
||
public const string K_Google_Play_URL = "Google_Play_URL";
|
||
public const string K_Rustore_URL = "Rustore_URL";
|
||
|
||
public const string V_Debug_PF_Title = "108EE8";
|
||
|
||
public const string K_BuglyAppID = "BuglyAppID";
|
||
public const string V_BuglyAppID = "af5ac6a2c2";
|
||
|
||
public const string K_BuglyAppKey = "BuglyAppKey";
|
||
public const string V_BuglyAppKey = "5de4f8e4-9552-4bb9-9423-82ce8daf2d6c";
|
||
|
||
public const string K_HeartBeat = "HeartBeat";
|
||
public const string K_FPS = "FPS";
|
||
|
||
public const string K_RTMP_ID = "RTMPid";
|
||
public const string K_RTM_Server_Endpoint = "RTMServerEndpoint";
|
||
public const string K_RTM_Hmac_Secret = "RTMHmacSecret";
|
||
|
||
|
||
public const string K_FuncUrl = "FuncUrl";
|
||
public const string V_FuncUrl = "http://192.168.9.101:7071";
|
||
|
||
public const string K_FuncKey = "FuncKey";
|
||
public const string V_FuncKey = "testKey";
|
||
|
||
public const string TA_URL = "https://ta-event.bamboogames.fun";
|
||
public const string TA_APPID = "9876bb56ee484b528064d1db40a57ec4";
|
||
|
||
public const string AF_KEY = "rSySeWtvKabfbPZE7Lmx7C";
|
||
public const string AF_APPID = "6505145935";
|
||
public const string AF_OneLinkID = "jT1Q";
|
||
|
||
public const string K_AssetVersion = "K_AssetVersion";
|
||
|
||
// YIDUN
|
||
public const string YidunProductId = "YD00611130848082";
|
||
public const string Yidun_AndroidBusinessId = "9a6a7b3a8616ec7700fc67452c8d026a";
|
||
public const string Yidun_IOSBusinessId = "3a97993aff24bf1608a8b11b76b694c1";
|
||
|
||
|
||
// 服务器所在地址,1:中国大陆,2:中国台湾地区,3:其他地区,4:欧盟地区
|
||
public const int Yidun_serverType = 3;
|
||
//
|
||
public const string Yidun_GooglePlayChannel = "googleplay";
|
||
public const string Yidun_RustoreChannel = "Rustore";
|
||
public const string Yidun_IOSChannel = "apple";
|
||
|
||
// 这个在编辑器中可以设置
|
||
// public const string TapJoy_IOS_SDK_Key = "s-kmRG51Rd-5JbI0ms7IHAEBCKUbSPFbYYtXmRCVbzJluulGsgIoly4g62rW";
|
||
// public const string TapJoy_Android_SDK_Key = "eM1Cdgl-TWGLxYeRsf4lMwEC0Jw5kcHqwdbvWj9VH28DuSkfDgWX7zJENOyn";
|
||
public const string K_TAPJOY_BAN = "K_TAPJOY_BAN";
|
||
public const string K_FISHING_CHALLENGE = "K_FISHING_CHALLENGE";
|
||
|
||
|
||
public static readonly IReadOnlyList<string> AOT_Dlls = new List<string>()
|
||
{
|
||
"mscorlib.dll",
|
||
"System.dll",
|
||
"System.Core.dll",
|
||
"Newtonsoft.Json.dll",
|
||
"asap.core.dll",
|
||
"UniRx.dll",
|
||
"IngameDebugConsole.Runtime.dll"
|
||
};
|
||
}
|