43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
using System.Collections.Generic;
|
||
|
||
//自定义在线参数,后面改json配置文件,暂时用代码文件顶替
|
||
public static class TKGParams
|
||
{
|
||
public static readonly Dictionary<string, object> OnlineParamDic = new Dictionary<string, object>()
|
||
{
|
||
{ TKGParamKey.UserGroup.ToString(), "Default" },
|
||
{ TKGParamKey.RemoveAdsShow.ToString(), 2 },
|
||
{ TKGParamKey.RemoveAds.ToString(), 4 },
|
||
{ TKGParamKey.LevelList.ToString(), "" },
|
||
{ TKGParamKey.LevelInterSwitch.ToString(), 3 },
|
||
#if UNITY_IOS
|
||
{ TKGParamKey.NativeSwitch.ToString(), 1 },
|
||
#else
|
||
{ TKGParamKey.NativeSwitch.ToString(), 0 },
|
||
#endif
|
||
{ TKGParamKey.ExtraLevelDelta.ToString(), 4 },
|
||
{ TKGParamKey.UseBoard.ToString(), 1 },
|
||
{ TKGParamKey.SkinAdCount.ToString(), 3 },
|
||
|
||
{ TKGParamKey.AutoMergeOpenLv.ToString(), 20},
|
||
{ TKGParamKey.AutoMergeAddCount.ToString(), 20},
|
||
{ TKGParamKey.SellWarningLevel.ToString(), 4}
|
||
};
|
||
}
|
||
|
||
public enum TKGParamKey
|
||
{
|
||
UserGroup,
|
||
RemoveAdsShow,
|
||
RemoveAds,
|
||
LevelList,
|
||
LevelInterSwitch,
|
||
NativeSwitch,
|
||
ExtraLevelDelta,
|
||
UseBoard,
|
||
SkinAdCount,
|
||
|
||
AutoMergeOpenLv,
|
||
AutoMergeAddCount,
|
||
SellWarningLevel
|
||
} |