mergemilitary/Assets/TKGSDK/Config/Scripts/TKGParams.cs

46 lines
1.2 KiB
C#
Raw Permalink Normal View History

2022-05-23 13:39:59 +00:00
using System.Collections.Generic;
/*
Custom Remote Config
1. add TKGParamKey below
2. add key and default value to dic
3. use online param
*/
2022-05-23 13:39:59 +00:00
public static class TKGParams
{
public static readonly Dictionary<string, object> OnlineParamDic = new Dictionary<string, object>()
{
// key - default value
{ TKGParamKey.RemoveAdsShowCount.ToString(), 4 }, // int value //
{ TKGParamKey.LevelList.ToString(), "1,78,72,70,64,65,4,66" }, // string value
{ TKGParamKey.HasBlock.ToString(), 0 }, // bool value // 1:true 0:false
2023-09-12 09:23:21 +00:00
{ TKGParamKey.UserGroup.ToString(), "Default" },
2022-05-23 13:39:59 +00:00
{ TKGParamKey.RemoveAdsShow.ToString(), 2 },
{ TKGParamKey.RemoveAds.ToString(), 4 },
{ TKGParamKey.LevelInterSwitch.ToString(), 3 },
2022-06-08 13:23:44 +00:00
{ TKGParamKey.NativeSwitch.ToString(), 1 },
{ TKGParamKey.AutoMergeOpenLv.ToString(), 20},
{ TKGParamKey.AutoMergeAddCount.ToString(), 20},
{ TKGParamKey.SellWarningLevel.ToString(), 4}
2022-05-23 13:39:59 +00:00
};
}
public enum TKGParamKey
{
RemoveAdsShowCount,
LevelList,
HasBlock,
2022-05-23 13:39:59 +00:00
UserGroup,
RemoveAdsShow,
RemoveAds,
LevelInterSwitch,
2022-06-08 13:23:44 +00:00
NativeSwitch,
AutoMergeOpenLv,
AutoMergeAddCount,
SellWarningLevel
2022-05-23 13:39:59 +00:00
}