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

67 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
#region MMO
{ TKGParamKey.Invitable.ToString(), GameConfig.Instance.IsDebug ? 1 : 0 },
{ TKGParamKey.ShareContent.ToString(), "My invite code:{0}" },
{ TKGParamKey.BonusLevel.ToString(), "5,31" },
{ TKGParamKey.BonusDiamond.ToString(), 5000 },
{ TKGParamKey.InviteCount.ToString(), 20 },
{ TKGParamKey.InviteLevel.ToString(), 20 },
#endregion
//预留参数,不用加到后台
{ TKGParamKey.ExtraLevelDelta.ToString(), 4 },
{ TKGParamKey.UsePet.ToString(), 1 },
{ 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,
#region MMO
Invitable,
ShareContent,
BonusLevel,
BonusDiamond,
InviteCount,
InviteLevel,
#endregion
//预留参数,不用加到后台
ExtraLevelDelta,
UsePet,
UseBoard,
SkinAdCount,
AutoMergeOpenLv,
AutoMergeAddCount,
SellWarningLevel
}