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

26 lines
671 B
C#
Raw Normal View History

2022-08-02 05:18:13 +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
*/
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
};
}
public enum TKGParamKey
{
RemoveAdsShowCount,
LevelList,
HasBlock,
}