public static void AddItem(IEventArgs args, string rule, FreeItem item)
 {
     item = item.Clone();
     if (!map.ContainsKey(rule))
     {
         map[rule] = new MyDictionary <string, FreeItem>();
     }
     map[rule][item.GetKey()] = item;
 }
Beispiel #2
0
        public static int GetSing(FreeItem item)
        {
            FreeItemInfo info = GetItemInfo(item.GetKey());

            return(info.sing);
        }