少年修仙传客户端代码仓库
client_Hale
2018-08-22 2b47fde8e7902ddddd898309f281b9c310fc877f
System/OpenServerActivity/OnlineRewardsModel.cs
@@ -34,7 +34,7 @@
    public override void Init()
    {
        return;//-------------------
        var _cfg = ConfigManager.Instance.GetTemplate<FuncConfigConfig>("SevenOnlineReaward");
        var _cfg = Config.Instance.Get<FuncConfigConfig>("SevenOnlineReaward");
        onlineRewardsCloseDay = int.Parse(_cfg.Numerical1);
        GetMaximumDuration = int.Parse(_cfg.Numerical1);
@@ -199,7 +199,7 @@
        {
            return;
        }
        var OnlineRewardConfig = ConfigManager.Instance.GetAllValues<OnlineAwardConfig>();
        var OnlineRewardConfig = Config.Instance.GetAllValues<OnlineAwardConfig>();
        foreach (var value in OnlineRewardConfig)
        {
            if (!OnlineRewards.ContainsKey(value.RewardID))