public void OnUpdate(object obj, object newObj) { QualifyLegionRankList.Clear(); SemiLegionRankList.Clear(); FinalLegionRankList.Clear(); QualifyLegionRankList = Hotfix_LT.EBCore.Dot.List <LegionRankData, int>(null, (newObj != null) ? newObj : obj, QualifyLegionRankList, Parse); SemiLegionRankList = Hotfix_LT.EBCore.Dot.List <LegionRankData, int>(null, (newObj != null) ? newObj : obj, SemiLegionRankList, Parse1); FinalLegionRankList = Hotfix_LT.EBCore.Dot.List <LegionRankData, int>(null, obj, FinalLegionRankList, Parse2); FinalLegionRankList.RemoveAll((item) => item == null); }
public void Remove(int legionID) { QualifyLegionRankList.RemoveAll(m => m.id == legionID); SemiLegionRankList.RemoveAll(m => m.id == legionID); FinalLegionRankList.RemoveAll(m => m.id == legionID); }
public void CleanUp() { QualifyLegionRankList.Clear(); SemiLegionRankList.Clear(); FinalLegionRankList.Clear(); }