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

46 lines
1.2 KiB
C#

using System.Collections.Generic;
/*
Custom Remote Config
1. add TKGParamKey below
2. add key and default value to dic
3. use online param
*/
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
{ TKGParamKey.UserGroup.ToString(), "Default" },
{ TKGParamKey.RemoveAdsShow.ToString(), 2 },
{ TKGParamKey.RemoveAds.ToString(), 4 },
{ TKGParamKey.LevelInterSwitch.ToString(), 3 },
{ TKGParamKey.NativeSwitch.ToString(), 1 },
{ TKGParamKey.AutoMergeOpenLv.ToString(), 20},
{ TKGParamKey.AutoMergeAddCount.ToString(), 20},
{ TKGParamKey.SellWarningLevel.ToString(), 4}
};
}
public enum TKGParamKey
{
RemoveAdsShowCount,
LevelList,
HasBlock,
UserGroup,
RemoveAdsShow,
RemoveAds,
LevelInterSwitch,
NativeSwitch,
AutoMergeOpenLv,
AutoMergeAddCount,
SellWarningLevel
}