hch
2026-03-21 8c46bc3e9de02cd5aa8d399bbc3e852fe0bfaefc
Main/System/GeneralConfig/GeneralDefine.cs
@@ -44,6 +44,12 @@
    public static int lvExpFullTipLimit { get; private set; }
    public static Dictionary<string, string> commonAwardTipDict { get; private set; }
    public static int[][] review_Awards;
    public static Dictionary<string, string> review_UrlDict;
    public static int review_MainLevel;
    public static int review_CD;
    public static string[] noAdsChannels;
    public static int[] heroSkinGiftList;
    public static void Init()
    {
        try
@@ -100,6 +106,17 @@
            config = FuncConfigConfig.Get("AwardEventTip");
            commonAwardTipDict = JsonMapper.ToObject<Dictionary<string, string>>(config.Numerical1);
            config = FuncConfigConfig.Get("GoodGameReward");
            review_Awards = JsonMapper.ToObject<int[][]>(config.Numerical1);
            config = FuncConfigConfig.Get("Review");
            review_UrlDict = JsonMapper.ToObject<Dictionary<string, string>>(config.Numerical2);
            review_MainLevel = int.Parse(config.Numerical3);
            review_CD = int.Parse(config.Numerical4);
            noAdsChannels = JsonMapper.ToObject<string[]>(config.Numerical5);
            config = FuncConfigConfig.Get("HeroSkinGift");
            heroSkinGiftList = JsonMapper.ToObject<int[]>(config.Numerical1);
        }
        catch (Exception ex)
        {
@@ -298,6 +315,12 @@
    public static long GetFactValue(uint value, uint valueEx)
    {
        return (long)valueEx * (long)Constants.ExpPointValue +(long)value;
        return (long)valueEx * (long)Constants.ExpPointValue + (long)value;
    }
    //约定:playerID<1000000为机器人 实际请参考机器人表
    public static bool IsRobot(int playerID)
    {
        return playerID < 1000000;
    }
}