Пример #1
0
 public static void Clear()
 {
     foreach (MinimapTracer current in MinimapTracer._entries)
     {
         if (MinimapTracer.OnRemove != null)
         {
             MinimapTracer.OnRemove(current);
         }
     }
     MinimapTracer._entries.Clear();
 }
Пример #2
0
 public static void Remove(MinimapTracer tracer)
 {
     if (tracer == null)
     {
         return;
     }
     MinimapTracer._entries.Remove(tracer);
     if (MinimapTracer.OnRemove != null)
     {
         MinimapTracer.OnRemove(tracer);
     }
 }
Пример #3
0
 public static void Add(MinimapTracer tracer)
 {
     if (tracer == null)
     {
         return;
     }
     MinimapTracer._entries.Add(tracer);
     if (MinimapTracer.OnAdd != null)
     {
         MinimapTracer.OnAdd(tracer);
     }
 }