예제 #1
0
        public void ClearAll()
        {
            lock (HandleMap)
            {
                foreach (var pair in HandleMap)
                {
                    if (Blips.Contains(pair.Value))
                    {
                        new Blip(pair.Value).Remove();
                    }
                    else if (Pickups.Contains(pair.Value))
                    {
                        Function.Call(Hash.REMOVE_PICKUP, pair.Value);
                    }
                    else
                    {
                        new Prop(pair.Value).Delete();
                    }
                }

                HandleMap.Clear();
                Markers.Clear();
                Blips.Clear();
                Pickups.Clear();
                _localMarkers.Clear();
                _markerCount = 0;
            }
        }
예제 #2
0
 public bool IsBlip(int localHandle)
 {
     return(Blips.Contains(localHandle));
 }