Ejemplo n.º 1
0
 public static void RemoveExtendEvent(UiExtendEventDeal func)
 {
     for (int i = 0; i < extendEventDeals.Count; i++)
     {
         if (extendEventDeals[i] == func)
         {
             extendEventDeals.RemoveAt(i);
             return;
         }
     }
 }
Ejemplo n.º 2
0
        public static void AddExtendEvent(UiExtendEventDeal func)
        {
            for (int i = 0; i < extendEventDeals.Count; i++)
            {
                if (extendEventDeals[i] == func)
                {
                    return;
                }
            }

            extendEventDeals.Add(func);
        }