少年修仙传客户端代码仓库
Client_PangDeRong
2018-09-04 9f03ab117dc40e095a58267695463ac25653dc6b
1854 切换账号没有清空仙盟活跃数据
1个文件已修改
10 ■■■■■ 已修改文件
System/FairyAu/UnionTaskModel.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/UnionTaskModel.cs
@@ -3,7 +3,7 @@
using System.Collections.Generic;
using TableConfig;
public class UnionTaskModel : Model
public class UnionTaskModel : Model,IBeforePlayerDataInitialize
{
    private FuncConfigConfig _tagFuncModel;
    public Action RefreshLivenScoreEvent;
@@ -13,6 +13,14 @@
        SetUnionLivenReward();
        SetUnionLivenScore();
    }
    public void OnBeforePlayerDataInitialize()
    {
        taskInfoDict.Clear();
        curLivenScore = 0;
    }
    public override void UnInit()
    {