Exemplo n.º 1
0
 public List <CombatItem> GetBoonDataByDst(ushort key, long start, long end)
 {
     if (BoonDataByDst.TryGetValue(key, out List <CombatItem> res))
     {
         return(res.Where(x => x.Time >= start && x.Time <= end).ToList());
     }
     return(new List <CombatItem>());;
 }
Exemplo n.º 2
0
 public List <CombatItem> GetBoonDataByDst(ushort key)
 {
     if (BoonDataByDst.TryGetValue(key, out List <CombatItem> res))
     {
         return(res);
     }
     return(new List <CombatItem>());;
 }