Exemplo n.º 1
0
 public void InvokeColshapeExit(ColShape shape, NetHandle veh)
 {
     lock (_mainQueue.SyncRoot)
         _mainQueue.Enqueue(new Action(() =>
         {
             if (Language == ScriptingEngineLanguage.compiled)
             {
                 _compiledScript.API.invokeColShapeExit(shape, veh);
             }
         }));
 }
Exemplo n.º 2
0
 internal void invokeColShapeExit(ColShape shape, NetHandle vehicle)
 {
     onEntityExitColShape?.Invoke(shape, vehicle);
 }
Exemplo n.º 3
0
 public void Remove(ColShape shape)
 {
     lock (ColShapes) ColShapes.Remove(shape);
 }
Exemplo n.º 4
0
 public void Add(ColShape shape)
 {
     shape.handle = ++_shapeHandles;
     lock (ColShapes) ColShapes.Add(shape);
 }